generator-ngtasty
This generator is the scaffolding tool for generate by Yeoman your collection of reusable UI components for AngularJS.
Dependencies
Usage
Installing Yeoman
npm install -g yo
Install generator-ngtasty
:
npm install -g generator-ngtasty
Make a new directory, and cd
into it:
mkdir new-collection && cd $_
Run yo ngtasty
passing a collection name:
yo ngtasty [collection-name]
Generators
Available generators:
component
Generates a component
Example:
yo ngtasty:component myComponent
Produces src/component/my-component.js
:
angular;
and src/component/test/my-component.spec.js
;
and template/my-component/my-component.html
filter
Generates a filter
Example:
yo ngtasty:filter myFilter
Produces src/filter/my-filter.js
:
angular;
and src/filter/test/my-filter.spec.js
;
service
Generates a service
Example:
yo ngtasty:service myService
Produces src/filter/my-service.js
:
angular;
and src/filter/test/my-service.spec.js
;
benchpress
Generates a benchmark of your dist
yo ngtasty:benchpress dist
generate a benchmark of an old version
yo ngtasty:benchpress ng-tasty
Creator
Designed and built by Leonardo Zizzamia, like grandma used to make.