{"name":"patch-version","version":"0.0.2","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 ."},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"ava":"^0.5.0","eslint":"^1.10.1","eslint-config-airbnb":"^1.0.0"},"gitHead":"96df2c2b557a261ea8f3404b56e6dcd937770def","bugs":{"url":"https://github.com/lijunle/npm-patch-version/issues"},"homepage":"https://github.com/lijunle/npm-patch-version#readme","_id":"patch-version@0.0.2","_shasum":"83c514667bb5d78452e588eda927900e2712534e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"lijunle","email":"lijunle@gmail.com"},"dist":{"shasum":"83c514667bb5d78452e588eda927900e2712534e","tarball":"http://registry-npm.ywwl.com/patch-version/download/patch-version-0.0.2.tgz","integrity":"sha512-4aHLvjH0laso4EW956cwSHnwzrk54xrV9gIRNyymcsqmjtYIMdrXynNP8r7r61M32CIpC8zkPoTiQQSXQP8x2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAu7YmBk1tezPlTELNuLv1SMXbtHxKu0XozAfYn66Z8CAiBRKQ6icYiDdWhev0zJgzLnA49SFc3vg0LkBlHN85kX3A=="}],"size":4115,"noattachment":false,"key":"/patch-version/-/patch-version-0.0.2.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":1448144303117,"_cnpm_publish_time":1448144303117,"dist-tags":{"latest":"0.1.1"}}