README
ng-pack
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
Getting Started
Install Slush and ng-pack generator:
npm install -g slush
npm install -g slush-ng-pack
Initialize the generator:
slush ng-pack
Also a Yeoman generator is available, please check sytac/ng-pack for it.
Usage
- 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!
Live Examples
License
MIT