https://github.com/svenliebig/angular-helper
https://github.com/svenliebig/angular-helper
angular-component angular-components angular-testing angular2 nodejs npm
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/svenliebig/angular-helper
- Owner: svenliebig
- Created: 2017-03-03T14:36:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T10:21:05.000Z (almost 9 years ago)
- Last Synced: 2024-12-29T15:46:49.625Z (12 months ago)
- Topics: angular-component, angular-components, angular-testing, angular2, nodejs, npm
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build an Angular Component on the Fly
This package was created to get rid of the creating of css, ts and html of angular components.
## Install to the Command line
```
$> npm i angular-helper -g
```
## Run Angular Helper
```
$> angular-helper c | compontent | create-component ClassName
or
$> nah c ClassName
or
$> ah c ClassName
```
## Commands
```
c | compontent | create-component - creates an Angular Component
s | service - creates an Angular Service
```
## Output
```
Create an Angular Component
-+ classname (directory)
-+-+ classname.css
-+-+ classname.component.html
-+-+ classname.component.ts
Create an Angular Service
-+ classname (directory)
-+-+ classname.service.ts
```
## Build 0.3
New Attribute "-t" available now, so:
```
ah c SuperClass -t
```
will add a jasmine/karma angular component test into your directory:
```
Create an Angular Component
-+ classname (directory)
-+-+ classname.css
-+-+ classname.component.html
-+-+ classname.component.ts
-+-+ classname.component.spec.ts
```
## Contact
Write me your thoughts to liebigsv@gmail.com
Github: https://github.com/Sly321/angular-helper
NPM: https://www.npmjs.com/package/angular-helper