Boilerplate for develop Electron application with React and Typescript
- Electron-forge
- React
- Typescript
- React Hot reloading
- Eslint for Typescript linting
and of course Webpack and Babel!
npm init electron-ts-starter [FOLDER_NAME] [VSCode]
- git clone
- npm install
- npm start
-
in settings add :
"eslint.validate": [ "javascript", "javascriptreact", { "language": "typescript", "autoFix": true }, { "language": "typescriptreact", "autoFix": true }]
- React-dev-tools (still not compatible with Electron v7 more info)
- add babel-eslint