Skip to content

Instantly share code, notes, and snippets.

@khalidx
Last active July 1, 2019 05:26
Show Gist options
  • Save khalidx/7efeeafde7ed68193475c69f899c72c1 to your computer and use it in GitHub Desktop.
Save khalidx/7efeeafde7ed68193475c69f899c72c1 to your computer and use it in GitHub Desktop.
Publishing to NPM

Increments the version and creates a git tag, pushes the tags to the remote, then publishes to npm.

npm version patch
git push && git push --tags
npm publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment