hc-ng-components
v0.0.0
Published
Intended for publishing shared components across hc-portal applications.
Downloads
14
Readme
#HC-COMPONENTS-LIBRARY Intended for publishing shared components across hc-portal applications.
projects
hc-components It is angular library project where all shared components resides.
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.