Skip to content

ItaiHammer/electron-parcel-boilerplate

Repository files navigation


Electron Parcel Boilerplate uses: Parcel, Concurrently, Sass, wait-on, and Electron.

Install

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

Commands

Main Commands:

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

Package Specific Commands:

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

Build Commands:

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

Maintainer

License

MIT © Electron React Boilerplate