Sample project containing Electron Forge + webpack + React + React Router + Ant Design + Recharts + Sass and Less.
- Electron Forge
- The command line interface for ambitious Electron applications.
- webpack
- A bundler for javascript and friends.
- React JS
- A JavaScript library for building user interfaces.
- React Router
- Declarative routing for React.
- Ant Design
- A design system with values of Nature and Determinacy for better user experience of enterprise applications.
- Recharts
- A composable charting library built on React components.
$ git clone https://github.com/douglasjunior/electron-webpack-react-boilerplate.git
$ cd electron-webpack-react-boilerplate
$ npm install
Start development mode:
$ npm start
Create package for the current platform:
$ npm run build
Build for Mac OSX: (only works on Mac)
$ npm run make:mac
Build for Linux (deb and dpkg): (works on Linux or Mac)
$ npm run make:linux
Build for Windows: (only works on Windows)
$ npm run make:windows
For a complete list of Electron Forge options and requirements, visit the official docs.
MIT License
Copyright (c) 2018 Douglas Nassif Roma Junior