Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.15 KB

DEVELOPER.md

File metadata and controls

53 lines (33 loc) · 1.15 KB

Development

This document describes how you can test, build and publish the library and its documentation.

Prerequisite

Before you can build and test this library you must install and configure the following products on your development machine:

You will then need to install the required dependencies:

cd <library-path>
npm install

Linting/verifying source code

Check that the code is properly formatted and adheres to coding style.

npm run lint --prefix=projets/lib

Unit testing

Unit tests can be executed with the following command:

npm run test:ci --prefix=projects/lib

Developing the library

npm run start --prefix=projects/lib

Publishing the library to NPM repository

This project comes with automatic continuous delivery (CD) using GitHub Actions.

  1. Bump the library version in ./projects/lib/package.json
  2. Push the changes
  3. Create a new: GitHub release
  4. Watch the results in: Actions