Skip to content

A Yeoman Generator for creating a testable AngularJS component, such as a directive or a service, and publishing it to bower

License

Notifications You must be signed in to change notification settings

azzamallow/generator-angulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-angulator

A Yeoman Generator for creating a testable AngularJS component, such as a directive or a service, and publishing it to bower.

All components and tests are written in CoffeeScript.

Getting Started

Install yeoman and bower if you have not already.

$ npm install -g yo bower

The Generator

To install generator-angulator from npm, run:

$ npm install -g generator-angulator

Let's make a component!

Create a directory and cd into it:

$ mkdir <component_name> && cd $_

Initiate the generator:

$ yo angulator

You will be asked to name the generator and select the type of component you would like to create:

❯ directive
  factory
  filter
  service

Develop and maintain your component

Once your project has been generated, you can build and test your component with ease:

$ grunt test

Build your component and prepare it to be registered with bower:

$ grunt build

Register with bower

Register your component to bower and share it with the world:

$ bower register <component_name> https://github.com/<author>/<component_name>

License

MIT License

About

A Yeoman Generator for creating a testable AngularJS component, such as a directive or a service, and publishing it to bower

Resources

License

Stars

Watchers

Forks

Packages

No packages published