Electron Boilerplate with React, TypeScript & Vite
A bare minimum react typescript vite boilerplate.
Note that this project does not include Server-Side Rendering, Testing Frameworks and other stuffs that makes the package unnecessarily complicated.
See also:
Contains
- Electron 15.3
- Typescript 4.5
- React 17
- React Dev Tools
- eslint 7.32
- source-map-explorer 2.5
- prettier
Build tools
Package tools
- electron-builder 22.13
Setup
$ npm install
Running
$ npm run build
$ npm start
Dev
$ npm run dev
Package
$ npm run package
Mac notarize app
Befroe: Set teamId, appleId, appleIdPassword in ./scripts/afterSignHook .js
you can see: https://github.com/electron/electron-notarize
export ALLOWNOTARIZE='true'
npm run package
Eslint
$ npm run lint
License
MIT