TypeScript
/Electron
/Angular
to build a cross-platform app
app
means the Angular project used for the renderer process of Electronmain
means the TypeScript project for the main process of Electron
- Using
@angular/cli
to build web assets for the renderer process - Using
esbuild
to build a bundledapp.min.js
for the main process - Using
electron-builder
to build installers/executables
npm install
to get the depsnpm run start:app
to serve the angular app at http://localhost:4200npm run start:main -- --serve
to start up electron to debug with the served angular appnpm run build:out
to get the output byelectron-builder
$ npm run build:app
$ npm run build:main
$ npm run build:prod