{"name":"patch-version","version":"0.1.1","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"},"devDependencies":{"ava":"^0.5.0","depcheck":"^0.5.10","eslint":"^1.10.1","eslint-config-airbnb":"^1.0.0"},"gitHead":"6ade0d05b359962f08568e48e8c2ca5d3397d06e","bugs":{"url":"https://github.com/lijunle/npm-patch-version/issues"},"homepage":"https://github.com/lijunle/npm-patch-version#readme","_id":"patch-version@0.1.1","_shasum":"a02ae66f3696724851ae69612d4ec4c5cdb7fc0e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"lijunle","email":"lijunle@gmail.com"},"dist":{"shasum":"a02ae66f3696724851ae69612d4ec4c5cdb7fc0e","tarball":"http://registry-npm.ywwl.com/patch-version/download/patch-version-0.1.1.tgz","integrity":"sha512-HG0hGMH/75NQBRDFC/W1hwhFlG/k5Sbl6NUNCqrNDa7hftHhA9nAIRXTSl1pZE7wFv7WjV1O0/NYPbVQUvEYnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtb9CqPNezR3+5umvHVlpEupRTg7D8F+YzC/J+3XZ3AQIhALTYfKR+M/Gv4LE0Q60dv596h81QYq2nbhji7Tj7GrGh"}],"size":4755,"noattachment":false,"key":"/patch-version/-/patch-version-0.1.1.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":1448207659318,"_cnpm_publish_time":1448207659318,"dist-tags":{"latest":"0.1.1"}}