https://github.com/ohpyupi/ngone-cli
CLI tool to enhance the speed of component based development of Angular.js in es6.
https://github.com/ohpyupi/ngone-cli
angular cli ngone-cli
Last synced: about 2 months ago
JSON representation
CLI tool to enhance the speed of component based development of Angular.js in es6.
- Host: GitHub
- URL: https://github.com/ohpyupi/ngone-cli
- Owner: ohpyupi
- Created: 2017-04-21T06:10:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-24T14:24:22.000Z (about 9 years ago)
- Last Synced: 2025-03-23T20:11:56.336Z (over 1 year ago)
- Topics: angular, cli, ngone-cli
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngone-cli
ngone-cli is a CLI tool to enhance angular.js developers' performance, reducing tedious and repeated works.
ngone-cli assumes developers build angular app on top of es6.
Webpack is used to transpile es6 version angular to stable javascript one, utilizing babel core.
This module is now at baby state and I welcome any contributes and feedback to the module.
## Installation
`npm install ngone-cli -g`
## Initializing Angular.js application
`ngone init` will initialize the application, and it will create app.module.js and app.config.js in ./app directory.
By default, in app.module.js, import statement for [angular](https://www.npmjs.com/package/angular) and [angular-ui-router](https://www.npmjs.com/package/angular-ui-router) have been declared.
## Generate a component
`ngone component [name] -g` will create basic component template in ./app/components/[name]. Once the component is created,
importing the component in the main modules and injecting to the angular app will be automatically followed.
## Terminate a component
`ngone component [name] -t` will delete and unregister the component from the app.
## Author
[ohpyupi](https://github.com/ohpyupi)
## License
Released under the terms of MIT License.