This is a fork of Angular2 Tour of Heroes app illustrating a mimimun build system setup for Angular 2, which includes Gulp, TypeScript, TSLint, SystemJS, Browsersync and LESS. Browsersync is used to automatically reload browser when HTML, TypeScript or CSS files are changed.
npm install
gulp
Builds the app to the distribution directory.
Builds and starts the app.
Does the same as gulp start
.
Cleans the distribution directory.
Copies HTML files to the distribution directory.
Compiles TypeScript files, creates declaration d.ts
files and sourcemap files, and copies files to the distribution directory.
Checks TypeScript files for mistakes.
Compiles LESS files and copies them to the distribution directory.