# SempliWebsiteLib

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.

## Code scaffolding

Run `ng generate component component-name --project sempli-website-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sempli-website-lib`.
> Note: Don't forget to add `--project sempli-website-lib` or else it will be added to the default project in your `angular.json` file.

## Build Sempli Website Library

Run `npm run build-sempli-website-lib` to build the library. The build artifacts will be stored in the `dist/` directory. This script will also copy assets folder into /dist and pack the library ready to be published.

## Publishing Sempli Website Library

After building your library with `npm run build-sempli-website-lib`, check the .tgz packed file name generated in the dist folder `dist/sempli-website-lib`. Eg. `sempli-website-lib-1.0.0.tgz` and run `npm publish ./dist/sempli-website-lib/sempli-website-lib-0.9.0.tgz`.
> Note: Don't forget to change sempli-website-lib version in the library's package.json file before Building and Packing the library, otherwise npm won't allow the pubslishing.

<!-- ## Running unit tests

Run `ng test sempli-website-lib` to execute the unit tests via [Karma](https://karma-runner.github.io). -->

<!-- ## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). -->
