angular-schema

0.0.4 • Public • Published

angular-schema

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

Testing

To test locally, install @angular-devkit/schematics-cli globally and use the schematics command line tool. That tool acts the same as the generate command of the Angular CLI, but also has a debug mode.

Check the documentation with

schematics --help

That's it!

Installing the package

Go to your angular project and after installing the package run:

npm i angular-schema

Running the schema

Go to your angular project and after installing the package run:

ng g angular-schema:core  //it generates a core module
ng g angular-schema:token //it generates an token interceptor

If you already want ran this but want to generate default files again, use --force flag in the above command.

That's it!

Github:

https://github.com/Saad-Amjad/schema

Package:

https://www.npmjs.com/package/angular-schema

License

  • License: MIT

Author

  • Author: saad.amjad

Keywords

  • Angular
  • Schematics

/angular-schema/

    Package Sidebar

    Install

    npm i angular-schema

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    8.46 kB

    Total Files

    15

    Last publish

    Collaborators

    • saadbinamjad