0.2.1 • Published 11 years ago
slush-ng-pack v0.2.1
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-packInitialize the generator:
slush ng-packAlso 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-unitorgulp test-e2eto 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
0.2.1
11 years ago