Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/njleonzhang/generator-angular-modules
- Owner: njleonzhang
- License: other
- Created: 2016-10-24T09:59:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-26T02:28:02.000Z (about 8 years ago)
- Last Synced: 2024-10-07T22:19:01.957Z (3 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)