Skip to content

How to Package

Maxime Labelle edited this page May 15, 2023 · 8 revisions

To publish a new version, complete the following steps:

First ensure you have committed all the code. Then run unit-tests:

git pristine && npm install && npx jest --coverage

Update the package version:

npm version <minor|patch>

Produce and publish the package:

git pristine && npm install && npm run build
npm pack
npm publish <package.json>

Compute the CDN subresource integrity hash for web publishing: https://www.srihash.org/

Clone this wiki locally