/ngx-common-lib

Angular Common Library for Rapid Development

Primary LanguageTypeScript

Angular Commons Library for Rapid Development

Angular Commons Library for Rapid Development

Release Version  Release Date  Total Downloads 

Github Stars  Github Forks  GitHub Contributors  APM

This library was generated with Angular CLI version 16.2.0

Requirements

  • Node 18.17.1
  • NPM: 9.6.7
  • Typescript 4.7.2

Code scaffolding

Execute this to generate a new component

ng generate component component-name --project commons-lib

To generate a new component. You can also use

ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-common-lib

Note: Don't forget to add --project ngx-common-lib or else it will be added to the default project in your angular.json file.

Build

For production build the project. The build artifacts will be stored in the dist/ directory.

ng build ngx-common-lib

To make a debug build, add the --watch switch from the above command.

Publishing

After building your library with ng build ngx-common-lib, go to the dist folder cd dist/ngx-common-lib and run npm publish.

Running unit tests

Run ng test ngx-common-lib to execute the unit tests via Karma.

Further help

Write to Support Email