Minimal Boilerplate with TypeScript + Angular 2 + Electron (optional)
Use it to bootstrap your project.
To install dependencies run with shell:
$ npm install
When dependencies will be installed use gulp to build:
$ npm run build
To start lite server to test use:
$ npm run try-web
To start project as desktop (electron) app use:
$ npm run try-desktop
And to pack native release use:
$ npm run pack-desktop
This boilerplate uses gulp to build. Watch command is also available if you develop it continiously:
npm run gulp watch
Minification is turned off by default. Use --minify
flag to activate it:
npm run gulp build --minify