angular2-es6-seed
July 21, 2016 ยท View on GitHub
Seed project for angular2 apps using ES6 and webpack bundler.
This project was tested with the latest version of nodeJS and npm, please make sure you have atleast node.js 5+ and NPM 3+ installed.
Usage & Develop
- Clone or fork this repository
- run
npm installto install dependencies - run
npm startto fire up dev server - open browser to
http://localhost:3000
Build
to create a ready production distribution package of the project please run:
npm run build
after running build the generated files will be available at /dist
Testing
This seed is has protractor and karma for end to end testing and unit testing respectively.
Unit Testing
make sure your tests are named with a -test.js suffix then. to run karma simply run:
npm test
End to end Testing
to start protractor tests please run:
npm run protractor