check_circle
Recipe

Publish to NPM

This assumes you have a working setup.

Instructions for publishing the latest NPM package

Since this work is released on NPM, this is how you should work once a new release is ready:

  1. Update the version number in the package.json - node version.
  2. Run npm run build:main to rebuild -> you should see files in the dist folder being replaced
  3. Check-in and make sure you are on master branch; if not, merge.
  4. Make sure you are logged into npm (you can do this by running npm whoami), if you are not logged in, use npm adduser to create a user or npm login to log in with your credentials.
  5. Run npm publish - you will shortly receive an email which confirms the publication.

Note that this will only work if you have an npm-account with the correct permissions, mapped to this project.