{"name":"patch-version","version":"0.1.0","description":"Patch version control tag version to package.json when deploy to npm on CI.","author":{"name":"Junle Li","email":"lijunle@gmail.com"},"license":"MIT","main":"src/index.js","bin":{"patch-version":"bin/patch-version"},"repository":{"type":"git","url":"git://github.com/lijunle/npm-patch-version.git"},"keywords":["npm","version","patch","patch-version","ci"],"scripts":{"test":"ava","lint":"eslint .","depcheck":"depcheck"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"ava":"^0.5.0","depcheck":"^0.5.10","eslint":"^1.10.1","eslint-config-airbnb":"^1.0.0"},"gitHead":"a7870efce9c0809947f73f3e4e77c388a75ee779","bugs":{"url":"https://github.com/lijunle/npm-patch-version/issues"},"homepage":"https://github.com/lijunle/npm-patch-version#readme","_id":"patch-version@0.1.0","_shasum":"52721c23e7cd5ec3cda1664c75fca9e293c7e516","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"lijunle","email":"lijunle@gmail.com"},"dist":{"shasum":"52721c23e7cd5ec3cda1664c75fca9e293c7e516","tarball":"http://registry-npm.ywwl.com/patch-version/download/patch-version-0.1.0.tgz","integrity":"sha512-3FCpOqklCS3RHm/2XvcgtRCtlGmakYTdlrWkkfswj+es9xsw59WEZlid221lmyc3fhtqZTUP49Ws77QnC7jufw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDN8N3DXB90oTkR1admjqEPTY2WrIhAEqnbdqZHgzRa9AiAwDdgUZchVhJ/7nJcHbPXYOJ6c8TKygQ0gNrIClJERWQ=="}],"size":4339,"noattachment":false,"key":"/patch-version/-/patch-version-0.1.0.tgz"},"maintainers":[{"name":"lijunle","email":"lijunle@gmail.com"}],"readme":"# patch-version [![Build Status](https://travis-ci.org/lijunle/npm-patch-version.svg?branch=master)](https://travis-ci.org/lijunle/npm-patch-version)\n\nPatch git tag version to package.json before publish to npm.\n\n## Usage\n\n1. Install [patch-version](https://www.npmjs.com/package/patch-version) from npm.\n2. Stick your package.json to one version. My suggestion is `0.0.1`, as this package does.\n3. Add `patch-version` command to deployment hook in your CI configuration file.\n4. When you want to publish a new version to npm, create a tag with a valid [semver](http://semver.org/), push it to trigger CI build and deployment. The tag version will be patched to `package.json` before publish to npm.\n\n## Supported CI\n\n- Travis\n- GitLab\n- AppVeyor\n\n## Example\n\nHere is the example configuration in `.travis.yml` for Travis CI:\n\n```yaml\nbefore_deploy:\n  - ./node_modules/.bin/patch-version\n\ndeploy:\n  provider: npm\n  email: \"my@email\"\n  api_key:\n    secure: \"secure-key\"\n```\n\n\n## License\n\nMIT License.\n","publish_time":1448204853967,"_cnpm_publish_time":1448204853967,"dist-tags":{"latest":"0.1.1"}}