![CircleCI](https://camo.githubusercontent.com/ed7bd4c2694aac8854e9bcc01bad6e129e141ae8bf6fec99cfb90d8fc54e9c2b/68747470733a2f2f636972636c6563692e636f6d2f67682f722d7061726b2f616e67756c6172322d7765627061636b2d736565642e7376673f7374796c653d736869656c6426636972636c652d746f6b656e3d38383965313739623139333062336633323931626266323761346461366466393837323665646630)
- Angular 2.0.1
- Jasmine
- Karma
- SASS
- Typescript 2
- Webpack 2
- Inline external HTML templates into typescript component files (optional)
- Inline and autoprefix external SCSS files into typescript component files (optional)
- Inject style tags into
index.html
(optional)
- Inject script tags into
index.html
- Bundle and minify release builds
$ npm install
$ npm start
Script |
Description |
npm start |
Start webpack development server @ localhost:3000 |
npm run build |
Lint, test, and build the application to ./target |
npm run lint |
Lint .ts and .js files |
npm run lint:js |
Lint .js files with eslint |
npm run lint:ts |
Lint .ts files with tslint |
npm run server |
Start express server @ localhost:3000 to serve built artifacts from ./target |
npm test |
Run unit tests with Karma and Jasmine |
npm run test:watch |
Run unit tests with Karma and Jasmine; watch for changes to re-run tests |
npm version |
Bump package.json version, generate CHANGELOG.md, git commit and tag (see npm version) |