Install the dependencies:
$ npm install
Run the tests:
$ npm test
To publish a new vX.Y.Z release, first update (or create) the release branch for this major version:
$ git checkout vX
$ git merge main
Next, Build the package and commit the built artifacts:
$ npm run package
$ git add dist
$ git commit -a -m 'Build version vX.Y.Z'
Finally, push the update and tag the commit:
$ git push origin vX
$ git tag vX.Y.Z
$ git push origin --tags