{"_id":"bump-file","_rev":"2-a62741da9b310572ba6a4631938031d6","name":"bump-file","description":"Bump JSON files (e.g. package.json and friends)","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"bump-file","version":"1.0.0","description":"Bump JSON files (e.g. package.json and friends)","keywords":["bump","json","file","increment","version","package","release","tag"],"repository":{"type":"git","url":"git+https://github.com/webpro/bump-file.git"},"homepage":"https://github.com/webpro/bump-file","bugs":{"url":"https://github.com/webpro/bump-file/issues"},"main":"index.js","bin":{"bump":"bin/bump.js"},"files":["index.js","bin/bump.js"],"scripts":{"format":"prettier --write index.js \"{bin,test}/**/*.js\"","test":"tape test/*.js"},"author":{"name":"Lars Kappert","email":"lars@webpro.nl"},"license":"MIT","dependencies":{"detect-indent":"5.0.0","semver":"5.4.1"},"devDependencies":{"prettier":"1.7.3","tape":"4.8.0"},"engines":{"node":">=4"},"gitHead":"1136debba39f78818a40307514301abd671f9d18","_id":"bump-file@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"webpro","email":"lars@webpro.nl"},"dist":{"integrity":"sha512-mUN6TDIkvDmE6gNlgMDiLl95qcgfqQ5Hu8HZDFk4AW3t9xBcKoasHlMcjV+1C6jmRRX4G2WySML0JGauRzFKaw==","shasum":"892880ef8af84c8df8d94cc2829ef18811503247","tarball":"https://registry.npmjs.org/bump-file/-/bump-file-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ0MQ4Z5regEfVqQNl8bRJIQXg4qU2dR6O2RNg4Mxq1QIhAJrVovgjYhWoUv3MBhzLMgZgwJYrfVrDLbKzQyIUQUQV"}]},"maintainers":[{"name":"webpro","email":"lars@webpro.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bump-file-1.0.0.tgz_1507473815132_0.4190819358918816"},"directories":{}},"2.0.0":{"name":"bump-file","version":"2.0.0","description":"Bump JSON files (e.g. package.json and friends)","keywords":["bump","json","file","increment","version","package","release","tag"],"repository":{"type":"git","url":"git+https://github.com/webpro/bump-file.git"},"homepage":"https://github.com/webpro/bump-file","bugs":{"url":"https://github.com/webpro/bump-file/issues"},"main":"index.js","bin":{"bump":"bin/bump.js"},"scripts":{"format":"prettier --write index.js \"{bin,test}/**/*.js\"","test":"tape test/*.js"},"author":{"name":"Lars Kappert","email":"lars@webpro.nl"},"license":"MIT","dependencies":{"detect-indent":"5.0.0","semver":"5.4.1"},"devDependencies":{"prettier":"1.7.3","tape":"4.8.0"},"engines":{"node":">=6"},"gitHead":"dfb1e3c7517cb1709f673c93968bbe4cc0ae08bf","_id":"bump-file@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.14.2","_npmUser":{"name":"webpro","email":"lars@webpro.nl"},"dist":{"integrity":"sha512-Kt2FoAljRS630vFx+asbCBiCp1PqaJ2PuCby+P+Fl8LMsUnGaxw/C2YxxQe4SiCJBs3Zt8A28u3wQRwnYMtuUw==","shasum":"171475dc8a4ab0bd8ce8469860337446eb886fb5","tarball":"https://registry.npmjs.org/bump-file/-/bump-file-2.0.0.tgz","fileCount":5,"unpackedSize":4976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM0v9CRA9TVsSAnZWagAAEDkP/2huo8BHOhzQ7cUwCuT5\nWOd0FPQDfo5AqXf4AMbRscQdoBkLrgoB/HBpCpumYoR6us/3o4UsjpMJYJBI\nV3OO1nBSbTn+K5KPBYd+IdFcp67uzVYZfVFFBkeVwN06EmEexOHRfIvQDScl\nTy95rZzNd6Js/i8G/iW2JTHBi7HyH7dF7Nn/m9OkgTh6LgrihKN4SEh2t5tZ\ntRlk3aGfJDmiG5en6avls0XLiz6XssTfkMx69yHpmNjPaRXS9aQJe7TL3h4s\nCkB1M22pu0M4wW8BPT2WPXTF9xoWRfjQtTd2Fll4Ub6Gd7c00vnXwPFhC39s\nPPlJZi9Oo7xkVwDHxFiqUKJ4Vd4e6ep2oQ6btCptF6JCnZn90JG6lb8eWmzS\nY8C3qqxsfz36BlmHwWRYmPbSmmsd+d7RhS/eJvxcsi2Bz+YA64i0BgsapR1g\nmzPTcQ6wB4t5rpMVs0FcATCQgcP0d7Gry9Ft9TNZtzQnckNSXIVBBPNZ7s6w\ndOYJR9E4S3mcorlrPVxTkRESbfJOnPnScQl0i1noD2JRaP52SGoixtQ/ITZH\nwxIjXMxp3UWDzlu/YtKLMc4ZjtIgoDcHMGfCHKnH5lDO2tfMlrffu0HYtOXV\nhG07OwlABDVI3TisJeFS/MJLBsxFL0MoMa2WS335KoJg2O1m9qnV5uY3xQIk\nbAws\r\n=f8WP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDodpCQsX+nuVKGbeOS7ePcWLIY0LEVtDuF/sCy11WmyAIgbD1nqVL7CxQxhehXB83MCIPOWH5spfotpEWu2q6PbFw="}]},"maintainers":[{"name":"webpro","email":"lars@webpro.nl"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bump-file_2.0.0_1546865660893_0.7179801717010499"},"_hasShrinkwrap":false}},"readme":"# file-bump\n\n## Installation\n\n```\nnpm install file-bump\n```\n\n## Usage\n\n### Node.js\n\n```\nimport bump from 'bump-file';\n\nbump(file, [increment='patch']);\n```\n\nThe second argument can also be an object:\n\n```\nbump(file, {\n  increment,\n  preId,        // Prerelease identifier (such as \"alpha\", \"beta\", \"rc\")\n  get,          // Function to get version. Default: pkg => pkg.version\n  set           // Function to set version. Default: (pkg, version) => pkg.version = version\n});\n```\n\n### CLI\n\nYou can install this globally (`npm install -g file-bump`), and use from CLI:\n\n```\nbump file [increment] [preId]\n```\n\n## Examples\n\n```\nbump('package.json', 'minor'); // 1.0.0 → 1.1.0\n\nbump('package.json', {         // 1.4.2 → 2.0.0-beta.0\n  increment: 'premajor',\n  preId: 'beta'\n});\n```\n\nSee the tests for more example.\n","maintainers":[{"name":"webpro","email":"lars@webpro.nl"}],"time":{"modified":"2022-04-12T04:44:58.124Z","created":"2017-10-08T14:43:36.096Z","1.0.0":"2017-10-08T14:43:36.096Z","2.0.0":"2019-01-07T12:54:20.987Z"},"homepage":"https://github.com/webpro/bump-file","keywords":["bump","json","file","increment","version","package","release","tag"],"repository":{"type":"git","url":"git+https://github.com/webpro/bump-file.git"},"author":{"name":"Lars Kappert","email":"lars@webpro.nl"},"bugs":{"url":"https://github.com/webpro/bump-file/issues"},"license":"MIT","readmeFilename":"README.md"}