Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 498 Bytes

CONTRIBUTE.md

File metadata and controls

18 lines (15 loc) · 498 Bytes

How to publish an update to npm

  1. Create an account at https://www.npmjs.com
  2. From the console, run npm login, and log in using your new account.
  3. Ask the package manager to add you as a collaborator.
  4. Run these commands:
cd path/to/repo
git checkout master
git pull
npm version patch -m "Preparing for publish" # see https://docs.npmjs.com/cli/version
git push
npm publish

All done! Verify at https://www.npmjs.com/package/{packagename}