Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

How to Publish Changes

Sayed Ibrahim Hashimi edited this page Feb 7, 2015 · 3 revisions

You can use the instructions below to publish the npm package to npmjs.org.

  1. Get latest from git and switch to the master branch
  2. Update version in packages.json using the npm version tool (sample command npm version 1.0.0 where 1.0.0 is the new version)
  3. Run npm test to ensure all tests pass locally
  4. Check in changes in the master branch
  5. Push changes to github
  6. Ensure that the Travis CI build is passing
  7. Merge changes from master to release branch
  8. Push changes to github in the release branch

The Travis CI is configured to automatically publish to npmjs.org whenever a change is pushed to release because of this the version must always be updated in one of the commits in the CI build.