0.0.0 • Published 4 years ago

hc-ng-components v0.0.0

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

#HC-COMPONENTS-LIBRARY Intended for publishing shared components across hc-portal applications.

projects

  1. hc-components It is angular library project where all shared components resides.

  2. hc-components-test It is angular project intended for debugging and demoing each component in library.

Configuration for running locally

Run npm run hccomponentbuild. It generates artifacts and puts in dist/hc-components directory. Test project takes the library from the same directory. => note for running test project remove publish command from script in package.json => ng build hc-components && cd dist/hc-components && npm publish =to=> ng build hc-components

Run ng serve to run test project.

Publishing the package to npm

Change library version in package.json of hc-components library project then,

Run npm run hccomponentbuild to build the project. The command has publish package to npm.