- Angular2
- Jasmine
- Karma
- SASS
- Typescript
- Webpack
- Webpack Development Server
- 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
node >=5.10
$ npm install
$ npm run typings
Script | Description |
---|---|
npm start |
Start the Webpack DevServer at localhost:3000 |
npm run build |
Lint, test, and build the application to ./target |
npm run dev |
Same as npm start |
npm run lint |
Lint .ts files using tslint |
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 run typings |
Install ambient typings |
npm version |
Bump package.json version, generate CHANGELOG.md, git commit and tag (see npm version) |