Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 670 Bytes

CONTRIBUTING.md

File metadata and controls

47 lines (28 loc) · 670 Bytes

Publishing a package

Bump the version

  • npm version patch

  • npm version minor

  • npm version major

Push version update to Git

git push && git push --tags

Publish the package to npmjs.com

npm login
npm publish

Publish the package to GitHub

1). Add the following line to the: ~/.npmrc file:

//npm.pkg.github.com/:_authToken={TOKEN}

where {TOKEN} is your personal GitHub access token with publishing permission.

2). Run:

npm publish --registry=https://npm.pkg.github.com