Awesome
electron-react-redux-boilerplate
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
Quick start
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
DevTools
Toggle DevTools:
- macOS: <kbd>Cmd</kbd> <kbd>Alt</kbd> <kbd>I</kbd> or <kbd>F12</kbd>
- Linux: <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd> or <kbd>F12</kbd>
- Windows: <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd> or <kbd>F12</kbd>
Packaging
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
Tests
npm run test