0.0.13 • Published 4 years ago

profilum-code-gen v0.0.13

Weekly downloads
10
License
MIT
Repository
-
Last release
4 years ago

Getting Started With Schematics

Template code generator.
Basically on angular schematics (generate component + service + module).
This generator is configured to generate a folder structure:

| => folder name:
    | => landing
        | => component {ts, html, css}
    | => login
        | => component {ts, html, css}, service {ts}
    | => registration
        | => by code
            | => component {ts, html, css}
        | => open
            | => component {ts, html, css}
        | => by student
            | => component {ts, html, css}
        | => component {ts, html, css}, service {ts}
            | => token
        | => component {ts, html, css}
| => Module for components and routing module {ts, ts}

Where each file is generated in its own module.
Each file has a name specified during generation.
The generated module is located in the module where we specify

###Install

npm i profilum-code-gen

How use

ng g profilum-code-gen:ng-landing --name=moscow --module=landing.module

And generator maintain many params (from ng g component|service|module), but it's successor angular schematics.

Available params

First HeaderSecond Header
flatboolean
inlineStyleboolean
inlineTemplatestring
modulestring
pathstring
prefixstring
projectstring
selectorstring
skipImportboolean
skipSelectorboolean
skipTestsboolean
typestring
0.0.12

4 years ago

0.0.13

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago

0.0.2

4 years ago

1.0.0

4 years ago