Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 766 Bytes

README.md

File metadata and controls

54 lines (34 loc) · 766 Bytes

TSNG2

Minimal Boilerplate with TypeScript + Angular 2 + Electron (optional)

Use it to bootstrap your project.

Install

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

Electron

To start project as desktop (electron) app use:

$ npm run try-desktop

And to pack native release use:

$ npm run pack-desktop

Building

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