TypeScript, Electron, Vite, ESLint and NodeNext/ESNext template repository.
This is a blank slate and other libraries like React can easily be retrofitted.
- Have Node.js, pnpm and Git installed
- Create a new repository using this template here
- Clone the repository to your local machine
- Run
pnpm ito install all dependencies - Copy
.env.templateto.envand configure it to your needs - Edit
package.json,electron-builder.json5andpublic/manifest.jsonto your liking
pnpm run dev- Starts the app in dev mode and refreshes it when a source file has changedpnpm run build- Builds the app for all platformspnpm run build-win- Builds the app for Windowspnpm run build-mac- Builds the app for MacOSpnpm run build-linux- Builds the app for Linuxpnpm run lint- Lints the code using ESLint, then runs TSC to check for syntax and type errorspnpm run format- Formats the code using ESLint to fix common problems
Licensed under the WTFPL.
Do whatever you want with this code, including changing the license.