This is a quick start for integrating angular5 with electron.It has bare minimum code to get you started with angular5 and electron.
npm start
access the web page at http:\localhost:8080
npm run build
npm run electron
After succesful build, run the below command to generate your app
npm run package