After being annoyed for so many days for searching a decent, working and minimal boilerplate for writing Desktop Application using Electron and React, this project was made to make the life easier a bit.
This project makes use of electron
with electron-webpack
and react
to serve the best environment for development.
To install this boilerplate you need to run following commands
# Clone the repository on your hard drive
git clone https://gitlab.com/codesbiome/electron-react-webpack
cd electron-react-webpack
# Install dependencies using "Yarn" package manager
yarn install
To develop and run your application, you need to run following command
yarn dev
To build the unpacked version of application
# Unpacked version build
yarn build
To build the packed (installer) version of application
# Packed version with Installer build
yarn build:setup
To clean the production environment builds (files), use this command
yarn clean