-
Notifications
You must be signed in to change notification settings - Fork 5
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/