A minimal boilerplate to get started with Electron, React and Redux.
Including:
- React Router
- Redux Thunk
- Redux Actions
- Redux Local Storage
- Electron Packager
- Electron DevTools Installer
- Electron Mocha
- Browsersync
Clone the repository
git clone --depth=1 https://github.com/jschr/electron-react-redux-boilerplate
Install dependencies
cd electron-react-redux-boilerplate
npm install
Development
npm run develop
Toggle DevTools:
- macOS: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12
Modify electron-builder.yml to edit package info.
For a full list of options see: https://www.electron.build/configuration/configuration
Create a package for macOS, Windows or Linux using one of the following commands:
npm run pack:mac
npm run pack:win
npm run pack:linux
npm run test