{"_id":"gulp-json-modify","_rev":"8-3a9c20e41063c30b163c3ac26e5ee5e4","name":"gulp-json-modify","description":"Modify data on a JSON path using Gulp (gulpjs.com)","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"gulp-json-modify","description":"Modify data on a JSON path using Gulp (gulpjs.com)","version":"1.0.2","homepage":"http://github.com/olioex/gulp-json-modify","repository":{"type":"git","url":"git://github.com/olioex/gulp-json-modify.git"},"author":{"name":"Lloyd Watkin","url":"http://olioex.com"},"main":"./index.js","dependencies":{"dot-object":"^1.2.0","plugin-error":"^0.1.2","plugin-log":"^0.1.0","through2":"^0.5.1"},"scripts":{"test":"mocha --reporter spec"},"engines":{"node":">= 0.9.0"},"keywords":["gulp","gulpplugin","version","versioning","gulp-version","gulp-plugin","json"],"license":"MIT","devDependencies":{"mocha":"^2.4.5","should":"^8.2.2","vinyl":"^1.1.1"},"gitHead":"a26a66e9139bba2ac1849abdf4c38d09e7ec10fe","bugs":{"url":"https://github.com/olioex/gulp-json-modify/issues"},"_id":"gulp-json-modify@1.0.2","_shasum":"a75424f334765b62c0c978ca6b6505c5fbc04970","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"lloydwatkin","email":"lloyd@evilprofessor.co.uk"},"dist":{"shasum":"a75424f334765b62c0c978ca6b6505c5fbc04970","tarball":"https://registry.npmjs.org/gulp-json-modify/-/gulp-json-modify-1.0.2.tgz","integrity":"sha512-vBSU8dVY5PNAEjEepe6rqWRZ6k8/KjG9p1D+JCreXXQ46uqsH8U+XpB0KJqQahy6AngH0m4oPR5qYIoNSl1I0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0hXl4V8WECT6h9v+KTO3kuRmlnN1I5ArPMqo8W7XHTwIgVPcVYqZvm6IHjfXdPy5Qd2dI7aWSQG4539TAUtr01KA="}]},"maintainers":[{"name":"lloydwatkin","email":"lloyd@evilprofessor.co.uk"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-json-modify-1.0.2.tgz_1465035803609_0.8666820607613772"}}},"readme":"# gulp-json-modify\n\n[![Build Status](https://travis-ci.org/OLIOEX/gulp-json-modify.png?branch=master)](https://travis-ci.org/OLIOEX/gulp-json-modify)\n\n[![NPM version](https://badge.fury.io/js/gulp-json-modify.png)](http://badge.fury.io/js/gulp-json-modify)\n\n> Replace data in a JSON file with something else\n\n## Usage\n\n#### Install\n\n```bash\n$ npm install gulp-json-modify --save\n```\n\n## Example\n\n```js\n// jsonModify data in multiple files\ngulp.task('jsonModify', function () {\n\n  return gulp.src([ './bower.json', './package.json' ])\n    .pipe(tasks.jsonModify({\n      key: 'version',\n      value: '1.0.0'\n    }))\n    .pipe(gulp.dest('./'))\n\n})\n\n// Run the gulp tasks\ngulp.task('default', function(){\n  gulp.run('jsonModify')\n})\n```\n\n## Options\n\n* **key**: key to replace (required)\n* **value**: set to value (required)\n\nExample:\n\n```js\n.pipe(jsonModify({ key: 'app_id', value: '1234' })\n```\n\n##### Dot notation is supported for sub-keys\n\n```js\n\n.pipe(jsonModify({ key: 'key.subkey', value: 'set-me-to' }))\n\n/*\n{\n  \"key\": {\n    \"subkey\": \"<value>\"\n  }\n}\n*/\n```\n\n### options.indent\n\nSet the amount of spaces for indentation in the result JSON file.\n\n## /ht\n\nhttps://github.com/stevelacy/gulp-bump\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2015 Steve Lacy <me@slacy.me> slacy.me\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"lloydwatkin","email":"lloyd@evilprofessor.co.uk"}],"time":{"modified":"2022-06-18T17:23:27.283Z","created":"2016-03-04T15:49:56.365Z","1.0.0":"2016-03-04T15:49:56.365Z","1.0.1":"2016-05-11T11:38:54.952Z","1.0.2":"2016-06-04T10:23:25.232Z"},"homepage":"http://github.com/olioex/gulp-json-modify","keywords":["gulp","gulpplugin","version","versioning","gulp-version","gulp-plugin","json"],"repository":{"type":"git","url":"git://github.com/olioex/gulp-json-modify.git"},"author":{"name":"Lloyd Watkin","url":"http://olioex.com"},"bugs":{"url":"https://github.com/olioex/gulp-json-modify/issues"},"license":"MIT","readmeFilename":"README.md","users":{"kiinlam":true}}