This document describes how you can test, build and publish this project.
Before you can start you must install and configure the following products on your development machine:
You will then need to clone this project and install the required dependencies:
git clone <repository_url> <dir_name>
cd <dir_name>
npm install
You can test the library while developing it, as follow:
-
Modify one of the test files
cd <library_path>/tests
-
Run the test file
npm run test:cjs (or) npm run test:mjs
The library will be built in the ./dist
directory.
npm run build
This project comes with automatic continuous delivery (CD) using GitHub Actions.
- Bump the library version in
./package.json
- Push the changes
- Create a new GitHub release
- Watch the results in: Actions