Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.79 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.79 KB

ng-pack

Helps you to create and publish your Angular components quickly using Gulp.

Getting Started

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.

Usage

  1. Setup your E2E testing environment for once: npm install -g protractor && webdriver-manager update --standalone
  2. Run gulp watch, go to http://localhost:8080/demo/index.html and play on /src.
  3. Use gulp test-unit or gulp test-e2e to execute your tests. (Be sure that selenium driver is up: webdriver-manager start)
  4. Finally, create your distribution files: gulp build
  5. Publish!

Live Examples

License

MIT