$ cnpm install pmm
Better npm publish

npm install -g pmm
pmm [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease] [<npmtag>]
# default version: patch
# default npm tag: latest
If you define "pmm:prepare" script in package.json it will be run before every publish. Also you can use prepublish or preversion npm scripts to run checks before publishing.
Stanislav Sysoev d4rkr00t@gmail.com https://github.com/d4rkr00t
Contributing are highly welcome! This repos is commitizen friendly — please read about it here.
Copyright 2013 - present © cnpmjs.org | Home |