2.1.0 • Published 6 years ago
angular-template-generator v2.1.0
angular-template-generator
generate files for an angular application
generate angular files
generate folder with files component, html, scss, stub, spec and interface for an angular application
Usage
Install with npm
npm i angular-template-generator -g
component generator
angular-template-generator type=component filename=nameOfComponent prefix?=nameOfPrefix
this will generate a folder with:
--nameOfComponent.component.ts
--nameOfComponent.component.spec.ts
--nameOfComponent.component.interface.ts
--nameOfComponent.component.stub.ts
--nameOfComponent.component.html
--nameOfComponent.component.scss
with a prefix defined it will add it to the selector and to the css class name (nameOfPrefixNameOfComponent)
directive generator
angular-template-generator type=directive filename=nameOfDirective prefix?=nameOfPrefix
this will generate a folder with
--nameOfDirective.directive.ts
--nameOfDirective.directive.spec.ts
--nameOfDirective.directive.interface.ts
--nameOfDirective.directive.stub.ts
with a prefix defined it will add it to the selector (nameOfPrefixNameOfDirective)
service generator
angular-template-generator type=service filename=nameOfService
this will generate a folder with
--nameOfService.ts
--nameOfService.spec.ts
--nameOfService.stub.ts
--nameOfService.interface.ts
2.1.0
6 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.0
7 years ago
0.0.61
7 years ago
0.0.60
7 years ago
0.0.59
7 years ago
0.0.58
7 years ago
0.0.58-np
7 years ago
0.0.56
7 years ago
0.0.55
7 years ago
0.0.54
7 years ago
0.0.53
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.31
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago