Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/njleonzhang/generator-angular-modules

A generator for publish angular modules, including directive and service
https://github.com/njleonzhang/generator-angular-modules

Last synced: about 2 months ago
JSON representation

A generator for publish angular modules, including directive and service

Awesome Lists containing this project

README

        

# generator-angular-modules
A generator for publish angular modules, including directive and service

## Installation
First, install [Yeoman](http://yeoman.io) and generator-gulp-ionic using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g generator-angular-modules
```

Then generate your new project:

## Generator for independent angular components dev

directive: `yo angular-modules`

service: `yo angular-modules:service`

factory: `yo angular-modules:factory`

## Usage of the generated project.

### Build package

`npm run build`

### Publish to bower

`npm run register`

## Getting To Know Yeoman

* Yeoman has a heart of gold.
* Yeoman is a person with feelings and opinions, but is very easy to work with.
* Yeoman can be too opinionated at times but is easily convinced not to be.
* Feel free to [learn more about Yeoman](http://yeoman.io/).

## License

Apache-2.0 © [njleonzhang](https://github.com/njleonzhang)