generator-angular2-typescript
generator-angular2-typescript copied to clipboard
Yeoman generator to scaffold out a front-end project with angular, typescript, webpack and much more..
Angular2-TypeScript generator
Yeoman generator for scaffold out a front-end project with Angular and TypeScript
Installation
You need to have latest version of Node.js installed on your machine before running the followings:
npm install yo generator-angular2-typescript -g
Make a new directory, and cd into it:
mkdir my-new-project && cd $_
Run yo angular2-typescript, optionally passing an app name:
yo angular2-typescript [app-name]
That'll generate a project including:
- Configured
package.jsonfile - Gulp task runner integration
- Plain CSS, Bootstrap or Foundation integration
- Either Webpack or SystemJS integration
- Karma unit test runner
- End-to-end tests with Protractor
- Istanbul code coverage
- TSLint linting for the TypeScript language
- License
Running Unit Tests
npm test
# Generate code coverage report
npm run coverage
License
MIT © 2016
