# OntotextReusableUiComponents

## Development

### Setup environment

* Checkout or clone the project from GitHub.
* Enter the project directory and execute `npm install` in order to install all needed dependencies locally.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

### Running unit tests

Run `npm run test` to execute the unit tests via [Jest](https://jestjs.io/).

### Running integration tests

Run `npm run cy:run` to execute the integration tests via [Cypress](https://www.cypress.io/).

Run `npm run cy:open` to open the cypress dashboard and run the tests manually.

## Release and publish
   
This application is regularly published as a package in the NPM registry.

## Documentation

[Documentation](https://ontotext-ad.github.io/ontotext-reusable-ui-components/) for this library is generated with [Compodoc](https://compodoc.app/) in `/docs` folder. Manually it can be generated with `npm run compodoc`.
