sindresorhus / np
- пятница, 8 июля 2016 г. в 03:14:07
JavaScript
A better `npm publish`
A better
npm publish
master
branch$ npm install --global np
$ np --help
Usage
$ np [major | minor | patch | premajor | preminor | prepatch | prerelease | <version>] (Default: patch)
Options
--any-branch Allow publishing from any branch
--skip-cleanup Skips cleanup of node_modules
--yolo Skips cleanup and testing
Examples
$ np
$ np major
$ np 1.0.2
You can use any of the test/version/publish related npm lifecycle hooks to add extra behavior.
MIT © Sindre Sorhus