NgTron
Angular + Electron = ❤️
Angular CLI extension based on Schematics and Builders for building angular based electron applications. This project uses the new architect API which is currently beta and will ship with angular 8 (so soon!). So you can only use this addon starting with angular 8!
Ngtron will setup your angular workspace with the finest electron tools available. Electron Builder is added to package your projects for mac, windows and linux. Electron Reload is used to automatically reload your app while developing whenever you make code changes.
Installation
ng add @richapps/ngtron
Usage
Run app while developing (with hot reloading)
ng run project:build-electron
Builds the app and opens it in an electron window. Uses hot reloading whenever your code changes.
Package your app
ng run project:package-electron
You can customize your build settings in the angular.json. There you will find all the settings which you can use in electron-builder.
Serve app in the browser
ng run project:serve-electron
This will serve your app in the browser even if you use node or electron apis.
Example will follow.