angular2-build-system
v0.2.3
Published
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.
Downloads
15
Maintainers
Readme
Angular2 build system
Overview
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.
Getting started
npm install
gulp
Gulp tasks
gulp build
Builds the app to the distribution directory.
gulp start
Builds and starts the app.
gulp
Does the same as gulp start
.
gulp clean
Cleans the distribution directory.
gulp copy-html
Copies HTML files to the distribution directory.
gulp copy-js
Compiles TypeScript files, creates declaration d.ts
files and sourcemap files, and copies files to the distribution directory.
gulp check-ts
Checks TypeScript files for mistakes.
gulp copy-css
Compiles LESS files and copies them to the distribution directory.