Yeoman generator for scaffold out a front-end project with Angular and TypeScript
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.json
file - 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
npm test
# Generate code coverage report
npm run coverage
MIT © 2016