angular2-build-system

0.2.3 • Public • Published

Angular2 build system

NPM Version NPM Downloads

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

  1. npm install
  2. 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.

Package Sidebar

Install

npm i angular2-build-system

Weekly Downloads

8

Version

0.2.3

License

(MIT OR Apache-2.0)

Last publish

Collaborators

  • eakoryakin