{"_id":"publish","_rev":"2967194","name":"publish","description":"npm auto publishing of your modules","dist-tags":{"latest":"0.6.0"},"maintainers":[{"name":"cmanzana","email":""}],"time":{"modified":"2023-05-08T06:37:03.000Z","created":"2012-07-20T21:47:35.792Z","0.6.0":"2016-04-15T15:43:35.392Z","0.5.0":"2015-05-09T07:25:49.269Z","0.3.2":"2012-07-24T20:26:30.987Z","0.3.1":"2012-07-24T18:30:30.486Z","0.3.0":"2012-07-24T16:39:33.935Z","0.2.1":"2012-07-24T14:55:47.621Z","0.2.0":"2012-07-24T14:53:12.835Z","0.1.1":"2012-07-22T18:07:17.635Z","0.1.0":"2012-07-22T18:03:39.441Z","0.0.1":"2012-07-20T21:47:35.792Z"},"users":{},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cmanzana/node-publish.git"},"versions":{"0.6.0":{"name":"publish","version":"0.6.0","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"mocha --globals name"},"dependencies":{"npm":"2.x.x","npmlog":"1.x.x","semver":"4.x.x","nopt":"3.x.x"},"repository":{"type":"git","url":"git+ssh://git@github.com/cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"mocha":"^2.4.5"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","gitHead":"cffdab28fb1b813b2076fe5c8c7ff96d037be677","bugs":{"url":"https://github.com/cmanzana/node-publish/issues"},"_id":"publish@0.6.0","_shasum":"ca124c8b9603ee1c7f739f35c12fcefbc3776f68","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"cmanzana","email":"carlos.manzanares+npm@gmail.com"},"maintainers":[{"name":"cmanzana","email":""}],"dist":{"shasum":"ca124c8b9603ee1c7f739f35c12fcefbc3776f68","size":5086,"noattachment":false,"key":"/publish/-/publish-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.6.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/publish-0.6.0.tgz_1460735012767_0.9010218037292361"},"directories":{},"publish_time":1460735015392,"_hasShrinkwrap":false,"_cnpm_publish_time":1460735015392,"_cnpmcore_publish_time":"2021-12-16T14:58:09.018Z"},"0.5.0":{"name":"publish","version":"0.5.0","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"mocha --globals name"},"dependencies":{"npm":"2.x.x","npmlog":"1.x.x","semver":"4.x.x","nopt":"3.x.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"mocha":"1.3.0"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","gitHead":"fc4c6b0c901a58e1ed86defd15de33adf3627d2a","bugs":{"url":"https://github.com/cmanzana/node-publish/issues"},"_id":"publish@0.5.0","_shasum":"be7ef7af78a7a2051bd200d6d1778a0be2b4961f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.11.16","_npmUser":{"name":"cmanzana","email":"carlos.manzanares+npm@gmail.com"},"maintainers":[{"name":"cmanzana","email":""}],"dist":{"shasum":"be7ef7af78a7a2051bd200d6d1778a0be2b4961f","size":4452,"noattachment":false,"key":"/publish/-/publish-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.5.0.tgz"},"directories":{},"publish_time":1431156349269,"_hasShrinkwrap":false,"_cnpm_publish_time":1431156349269,"_cnpmcore_publish_time":"2021-12-16T14:58:09.255Z"},"0.3.2":{"name":"publish","version":"0.3.2","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"mocha --globals name"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"mocha":"1.3.0"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","_id":"publish@0.3.2","dist":{"shasum":"b551aed99df3646d98c0fb89bd784193e7f6c75b","size":4288,"noattachment":false,"key":"/publish/-/publish-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.3.2.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1343161590987,"_hasShrinkwrap":false,"_cnpm_publish_time":1343161590987,"_cnpmcore_publish_time":"2021-12-16T14:58:09.507Z"},"0.3.1":{"name":"publish","version":"0.3.1","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"mocha --globals name"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"mocha":"1.3.0"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","_id":"publish@0.3.1","dist":{"shasum":"65d6a7b4c4319aeb96fcf56d5634b88edb63e142","size":4287,"noattachment":false,"key":"/publish/-/publish-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.3.1.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1343154630486,"_hasShrinkwrap":false,"_cnpm_publish_time":1343154630486,"_cnpmcore_publish_time":"2021-12-16T14:58:09.792Z"},"0.3.0":{"name":"publish","version":"0.3.0","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"mocha --globals name"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"mocha":"1.3.0"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","_id":"publish@0.3.0","dist":{"shasum":"65e1bdd4447d15cc7dba82835eb6b818b97acbbb","size":3951,"noattachment":false,"key":"/publish/-/publish-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.3.0.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1343147973935,"_hasShrinkwrap":false,"_cnpm_publish_time":1343147973935,"_cnpmcore_publish_time":"2021-12-16T14:58:09.994Z"},"0.2.1":{"name":"publish","version":"0.2.1","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"expresso test/*.js"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"expresso":"0.9.2"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","_id":"publish@0.2.1","dist":{"shasum":"7d6720d17018f32e67a3bf178d383e34a295c3f1","size":3554,"noattachment":false,"key":"/publish/-/publish-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.2.1.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1343141747621,"_hasShrinkwrap":false,"_cnpm_publish_time":1343141747621,"_cnpmcore_publish_time":"2021-12-16T14:58:10.208Z"},"0.2.0":{"name":"publish","version":"0.2.0","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"./bin/publish.js"},"scripts":{"test":"expresso test/*.js"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"expresso":"0.9.2"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares@gmail.com"},"license":"MIT","_id":"publish@0.2.0","dist":{"shasum":"cc59f767e3c37f8706c02ab748e16f9cad4b87a6","size":3542,"noattachment":false,"key":"/publish/-/publish-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.2.0.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1343141592835,"_hasShrinkwrap":false,"_cnpm_publish_time":1343141592835,"_cnpmcore_publish_time":"2021-12-16T14:58:10.418Z"},"0.1.1":{"name":"publish","version":"0.1.1","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"index.js"},"scripts":{"test":"tap test/*.js"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"tap":"0.2.5"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares+npm@gmail.com"},"license":"MIT","_id":"publish@0.1.1","dist":{"shasum":"be5523b5f37501c2a2c449a41a51457980a7edc7","size":3114,"noattachment":false,"key":"/publish/-/publish-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.1.1.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1342980437635,"_hasShrinkwrap":false,"_cnpm_publish_time":1342980437635,"_cnpmcore_publish_time":"2021-12-16T14:58:10.656Z"},"0.1.0":{"name":"publish","version":"0.1.0","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"index.js"},"scripts":{"test":"tap test/*.js"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x","nopt":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"tap":"0.2.5"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares+npm@gmail.com"},"license":"MIT","_id":"publish@0.1.0","dist":{"shasum":"303092cb21bb74768dcae995a26a874be4dae1b0","size":3150,"noattachment":false,"key":"/publish/-/publish-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.1.0.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1342980219441,"_hasShrinkwrap":false,"_cnpm_publish_time":1342980219441,"_cnpmcore_publish_time":"2021-12-16T14:58:11.301Z"},"0.0.1":{"name":"publish","version":"0.0.1","description":"npm auto publishing of your modules","main":"index.js","homepage":"https://github.com/cmanzana/node-publish","bin":{"publish":"index.js"},"scripts":{"test":"tap test/*.js","posttest":"publish"},"dependencies":{"npm":"1.1.x","npmlog":"0.0.2","semver":"1.0.x"},"repository":{"type":"git","url":"git@github.com:cmanzana/node-publish.git"},"keywords":["npm","publish","deploy","CI"],"devDependencies":{"tap":"0.2.5"},"author":{"name":"Carlos Manzanares","email":"carlos.manzanares+npm@gmail.com"},"license":"MIT","_id":"publish@0.0.1","dist":{"shasum":"faec69ad02094921bbcbc0798ff3592767a0a84f","size":2416,"noattachment":false,"key":"/publish/-/publish-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/publish/download/publish-0.0.1.tgz"},"maintainers":[{"name":"cmanzana","email":""}],"directories":{},"publish_time":1342820855792,"_hasShrinkwrap":false,"_cnpm_publish_time":1342820855792,"_cnpmcore_publish_time":"2021-12-16T14:58:11.523Z"}},"readme":"# publish\n\n[![Build Status](https://secure.travis-ci.org/cmanzana/node-publish.png)](http://travis-ci.org/cmanzana/node-publish)\n\nnpm module to automate publishing of npm modules\nUseful when you want to publish every time you bump the version in your module as part of your continuos integration setup.\n\nWhen running publish in your module:\n- if your module is not yet in the registry then publish will do nothing (you need to publish manually the first version of your module)\n- if your module has the same version, or lower version than the version in the registry then publish will do nothing\n- if your module has bigger version than the version in the registry then publish will perform a ['npm publish'](http://npmjs.org/doc/publish.html) of your module\n\n## Installation\n\nnpm install publish\n\n## Usage\n\nThe most common way of using publish is to have it as a posttest script in your package.json:\n\n    \"scripts\": {\n      \"test\": \"tap test/*.js\", // tap as an example\n      \"posttest\": \"publish\"\n    }\n\nwhich means that on successful test run, publish will try to 'npm publish' your module.\n\nNotice that your CI machine needs to be configured with an npm user (http://npmjs.org/doc/adduser.html) that is\nauthorized to publish the package.\n\nThe options that you can use with publish are:\n\n* --on-major  Publishes on major version changes.\n* --on-minor  Publishes on minor version changes.\n* --on-patch  Publishes on patch version changes.\n* --on-build  Publishes on build version changes.\n* --test      Prints the versions of the packages and whether it would publish.\n* --tag <tag> Publishes the change with the given tag. (npm defaults to 'latest')\n* --version   Print the version of publish.\n* --help      Print the help of publish.\n\n### Examples\n\n    publish --on-major --on-minor\n\nwill only publish when the local major or minor versions are higher than the remote ones\n\n    publish --on-build\n\nwill only publish when the local build version is higher than the remote one\n\n    publish\n\nwill only publish when the local version is higher than the remote one\n\n\n## License\n[MIT](https://github.com/cmanzana/node-publish/blob/master/MIT-LICENSE)\n","_attachments":{},"homepage":"https://github.com/cmanzana/node-publish","bugs":{"url":"https://github.com/cmanzana/node-publish/issues"},"license":"MIT"}