Clone this repo to a new directory:
git clone https://github.com/edgeworkscreative/stencil-electron-app-starter my-app
cd my-app
git remote rm origin
and run:
npm install
npm start
To build the app for production, run:
sudo docker run --rm -ti --env ELECTRON_CACHE="/root/.cache/electron" --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" -v ${PWD}:/project -v ${PWD##*/}-node-modules:/project/node_modules -v ~/.cache/electron:/root/.cache/electron -v ~/.cache/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine
./node_modules/.bin/electron-builder --win
./node_modules/.bin/electron-builder --linux deb