to run in desktop (electron) mode:
npm run build
(creates bundles in /dist folder)npm start
(launches electron app using bundles built in the previous step)
to run in browser:
npm run serve
(uses webpack-dev-server to serve compiled js from memory)
To package electron distibutable:
npm run build
npm run package