🔆 A CLI for Electron & React.js quick start boilerplate.
- Easy-to-use CLI
- Handles all modern JS features
- Support for TypeScript
- Basic project structure with a single
package.json
setup - Ability to easily package your electron app using electron-builder
- Installed react-devtools and devtron tools for development
appveyor.yml
and.travis.yml
configurations for automated deployments with electron-builder- Ability to produce web output for browsers
- Handy NPM scripts
- Use of webpack and react-hot-loader with Hot Module Replacement
- Process restarting when working in main process
- ESLint (with support for
standard
andairbnb-base
)* - Unit Testing with Jest
- E2E Testing with Jest + spectron
- Base on the latest version (React v16.12.0 && Electron v7.1.11)
This package requires node >= 4
, but we recommend node >= 8
.
npm install -g create-electron-react
npx create-electron-react
? Application Name
? Application Id
? Application Version
? Project Description
? Author
? Package Manager
? Template
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
create-electron-react
- with Redux
- with Next
MIT © zenghongtu