Generator Angular2 App
What is it ?
Generator Angular2 App is designed to be an application generator for Yeoman providing a full stack working environment for Angular2 (rc 4+) developments.
It implements Gulp, Sass, TypeScript, Live Reload, Bower, Karma, Jasmine, Protractor, Bootstrap, jQuery, Jade, Dart, Angular2 Material, TingoDB, Ng-React.
Tools in italic - if any - are not yet implemented.
Install
First, install Yeoman and angular-2-application-scaffolder using npm (we assume you have pre-installed node.js).
$ npm install -g yo$ npm install -g generator-angular-2-app
Then generate your new project:
$ yo angular-2-app
Dependencies
Make sure you ran the following command before starting your project:
$ npm install && bower install && typings install
Launch the development environment
Go to your project and run:
$ gulp serve
This command will run a live reload server and will watch for changes to instantly update your dev distribution.
Build application for production
Go to your project and run:
$ gulp build
This command will run all the compilation tasks and create a dist/ folder to your root directory with optimized code for production
Unit testing with Karma
$ npm test
End-to-end testing with Protractor
$ npm run e2e
Code coverage with Istanbul
$ npm run coverage
License
MIT © Michel Ruffieux (ruffiem) and contributors.