Skip to content

pimterry/np

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

np

A better npm publish

Why

  • Ensures the working directory is clean and that there are no unpulled changes
  • Reinstalls dependencies to ensure your project works with the latest dependency tree
  • Runs the tests
  • Bumps the version in package.json and creates a git tag
  • Publishes the new version to npm
  • Pushes commits and tags to GitHub

Install

$ npm install --global np

Usage

np [patch | minor | major | <version>]
# `patch` is default

License

MIT © Sindre Sorhus

About

A better `npm publish`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%