Electron Parcel Boilerplate uses: Parcel, Concurrently, Sass, wait-on, and Electron.
First, clone the repo via git and install dependencies:
git clone https://github.com/ItaiHammer/electron-parcel-boilerplate.git your-project-name
cd your-project-name
npm i
npm start
- Starts a Parcel server and runs an Electron app running on the server
npm run build
- Builds the Parcel app and creates an Electron app using the build for your current OS
npm run parcel:dev
- Runs a Parcel server
npm run parcel:build
- Builds the Parcel app
npm run electron:start
- Starts an Electron app using the build
npm run electron:dev
- Starts an Electron app using the a parcel server
npm run del-dist
- Delets the dist folder
npm run del-cache
- Delets the cache folder
npm run del-build
- Delets the dist and cache folder
npm run create-blank-dist
- Creates a dist folder with a blank HTML file
npm run create-blank-cache
- Creates a blank cache folder
npm run create-blank-build
- Creates a blank cache folder and a dist folder with a blank HTML file