2.1.0 • Published 6 years ago

angular-template-generator v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 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

8 years ago

0.0.58-np

8 years ago

0.0.56

8 years ago

0.0.55

8 years ago

0.0.54

8 years ago

0.0.53

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.31

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago