Helps you to create and publish your Angular components quickly using Gulp.
- Gulpfile with tasks to watch, test & build.
- ES6 support via Babel
- Livereload
- SASS
- Ready to publish bower.json.
- Complete testing environment: Karma + Protractor + Istanbul
- Travis CI & Coveralls integration
Install Yeoman and ng-pack generator:
npm install -g yo
npm install -g generator-ng-pack
Initialize the generator:
yo ng-pack
Also a Slush generator is available, please check sytac/slush-ng-pack for it.
- Setup your E2E testing environment for once:
npm install -g protractor && webdriver-manager update --standalone
- Run
gulp watch
, go to http://localhost:8080/demo/index.html and play on /src. - Use
gulp test-unit
orgulp test-e2e
to execute your tests. (Be sure that selenium driver is up:webdriver-manager start
) - Finally, create your distribution files:
gulp build
- Publish!
MIT