Skip to content

zhoucs624/ng2-starter

Repository files navigation

Introduction

This repo derived from angularClass repo is angular starter simplified without CI.Contrast to source files,this repo modifies somenpm commands, add some meta data in tslint.json file and keeps almost files in src/app folder unchanged .

installation

  • node >= 4.2.1
  • npm >= 3
npm install

features

  • webpack
  • HMR
  • lazyload
  • tslint
  • unit-testing
  • e2e-testing
  • compodoc
  • typedoc
  • sass

commands

1.dev in real time

npm run start

2.build for dev

npm run build

or

npm run build:dev

3.build for prod

npm run build:prod

If necessary with aot

npm run build:prod:aot

4. unit-testing

npm run unit

5. e2e-testing

npm run e2e

6. tslint

npm run tslint