https://github.com/revuls/angular-components-cli
Nodejs CLI to generate all needed files in angularJS when creating components with the best practices
https://github.com/revuls/angular-components-cli
angular best-practices cli javascript nodejs-cli
Last synced: 9 months ago
JSON representation
Nodejs CLI to generate all needed files in angularJS when creating components with the best practices
- Host: GitHub
- URL: https://github.com/revuls/angular-components-cli
- Owner: revuls
- License: mit
- Created: 2017-03-23T17:25:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T14:19:30.000Z (over 8 years ago)
- Last Synced: 2025-02-05T07:46:41.614Z (10 months ago)
- Topics: angular, best-practices, cli, javascript, nodejs-cli
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-components-cli
Nodejs CLI to generate all needed files in angular when creating components and services with the best practices
### Global install
```
npm install angular-components-cli -g
```
### how to use it
```
angularjs component [component-name]
```
```
angularjs service [service-name]
```
### Example
```
angularjs component my-component
// Generates the files with needed code:
my-component.component.js
my-component.controller.js
my-component.spec.js
my-component.html
```
```
angularjs service my-service
// Generates the file with needed code:
my-service.service.js
```
### TODO
Make support for:
- Factories
- Directives