{"_id":"rollup-plugin-json","_rev":"2819338","name":"rollup-plugin-json","description":"Convert .json files to ES6 modules:","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"time":{"modified":"2022-09-06T14:13:04.000Z","created":"2015-10-25T23:02:37.160Z","4.0.0":"2019-03-18T16:40:53.908Z","3.1.0":"2018-09-13T16:17:39.098Z","3.0.0":"2018-05-11T12:48:09.550Z","2.3.1":"2018-05-11T12:29:47.470Z","2.3.0":"2017-06-03T14:07:23.777Z","2.2.0":"2017-06-03T13:47:52.554Z","2.1.1":"2017-04-09T13:41:54.634Z","2.1.0":"2016-12-15T22:15:25.296Z","2.0.2":"2016-09-07T00:45:20.029Z","2.0.1":"2016-06-23T20:10:45.998Z","2.0.0":"2015-11-05T23:02:33.553Z","1.0.0":"2015-10-25T23:02:37.160Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"versions":{"4.0.0":{"name":"rollup-plugin-json","version":"4.0.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^5.15.3","eslint-plugin-import":"^2.16.0","husky":"^1.3.1","lint-staged":"^8.1.5","mocha":"^6.0.2","prettier":"^1.16.4","rollup":"^1.6.0","rollup-plugin-buble":"^0.19.6","rollup-plugin-node-resolve":"^4.0.1","source-map-support":"^0.5.11"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublishOnly":"npm test","prepare":"npm run build","lint":"eslint --fix src test/test.js"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^2.5.0"},"gitHead":"476dc4c34e25bcfd4d6fd00e65747287f6fe2bd0","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@4.0.0","_nodeVersion":"10.7.0","_npmVersion":"6.8.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"shasum":"a18da0a4b30bf5ca1ee76ddb1422afbb84ae2b9e","size":2788,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-4.0.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json_4.0.0_1552927253786_0.6860694884982776"},"_hasShrinkwrap":false,"publish_time":1552927253908,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1552927253908,"_cnpmcore_publish_time":"2021-12-16T11:32:00.958Z"},"3.1.0":{"name":"rollup-plugin-json","version":"3.1.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^5.5.0","eslint-plugin-import":"^2.14.0","husky":"^0.14.3","lint-staged":"^7.2.2","mocha":"^5.2.0","rollup":"^0.65.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-node-resolve":"^3.4.0","source-map-support":"^0.5.9"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublishOnly":"npm test","prepare":"npm run build","precommit":"lint-staged","postcommit":"git reset","lint":"eslint --fix src test/test.js"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^2.3.1"},"gitHead":"bb64f6536ec6155dfea94771076cc88d19f3c049","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.7.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"shasum":"7c1daf60c46bc21021ea016bd00863561a03321b","size":2902,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-3.1.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json_3.1.0_1536855458932_0.6811237112352528"},"_hasShrinkwrap":false,"publish_time":1536855459098,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1536855459098,"_cnpmcore_publish_time":"2021-12-16T11:32:01.268Z"},"3.0.0":{"name":"rollup-plugin-json","version":"3.0.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^4.19.1","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","lint-staged":"^7.1.0","mocha":"^5.1.1","rollup":"^0.58.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-node-resolve":"^3.3.0","source-map-support":"^0.5.5"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublishOnly":"npm test","prepare":"npm run build","precommit":"lint-staged","postcommit":"git reset","lint":"eslint --fix src test/test.js"},"files":["src","dist","README.md"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^2.2.0"},"gitHead":"2b2fd1cfe5b7e5c17831e240f75b859baa05efaa","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@3.0.0","_npmVersion":"6.0.1","_nodeVersion":"8.7.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"shasum":"aeed2ff36e6c4fd0c60c4a8fc3d0884479e9dfce","size":2685,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-3.0.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json_3.0.0_1526042889497_0.46734436471041896"},"_hasShrinkwrap":false,"publish_time":1526042889550,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1526042889550,"_cnpmcore_publish_time":"2021-12-16T11:32:01.466Z"},"2.3.1":{"name":"rollup-plugin-json","version":"2.3.1","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","eslint-plugin-import":"^2.2.0","mocha":"^3.0.2","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-node-resolve":"^3.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test","lint":"eslint src"},"files":["src","dist","README.md"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^2.0.1"},"peerDependencies":{"rollup":"< 0.59.0"},"gitHead":"50db997530e1a4b20377ceb78632a7c1bdcce725","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@2.3.1","_npmVersion":"6.0.1","_nodeVersion":"8.7.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"shasum":"9759d27f33dcd2c896de18b6235df162b88edd77","size":5264,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.3.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json_2.3.1_1526041787341_0.9359862476304659"},"_hasShrinkwrap":false,"publish_time":1526041787470,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1526041787470,"_cnpmcore_publish_time":"2021-12-16T11:32:01.870Z"},"2.3.0":{"name":"rollup-plugin-json","version":"2.3.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","eslint-plugin-import":"^2.2.0","mocha":"^3.0.2","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-node-resolve":"^3.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test","lint":"eslint src"},"files":["src","dist","README.md"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^2.0.1"},"gitHead":"6d98045971d9f1845bbc850705b4cf8e93b5601e","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@2.3.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"3c07a452c1b5391be28006fbfff3644056ce0add","size":6564,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.3.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json-2.3.0.tgz_1496498841412_0.56632334087044"},"directories":{},"publish_time":1496498843777,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1496498843777,"_cnpmcore_publish_time":"2021-12-16T11:32:02.141Z"},"2.2.0":{"name":"rollup-plugin-json","version":"2.2.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","eslint-plugin-import":"^2.2.0","mocha":"^3.0.2","rollup":"^0.37.0","rollup-plugin-buble":"^0.15.0","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test","lint":"eslint src"},"files":["src","dist","README.md"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"5f2606017cb0092343b7131e8ff945fabdda3d8b","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@2.2.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"9246322b1257134a43d70a2ce2de27e7a24fe2f8","size":6549,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.2.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-json-2.2.0.tgz_1496497671650_0.6489081413019449"},"directories":{},"publish_time":1496497672554,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1496497672554,"_cnpmcore_publish_time":"2021-12-16T11:32:02.370Z"},"2.1.1":{"name":"rollup-plugin-json","version":"2.1.1","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","eslint-plugin-import":"^2.2.0","mocha":"^3.0.2","rollup":"^0.37.0","rollup-plugin-buble":"^0.15.0","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test","lint":"eslint src"},"files":["src","dist","README.md"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"9893e534b50bd3fdaad135ecfc44732f4a1c1b7c","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@2.1.1","_shasum":"933390dff3c9e3e654157d61304c5e167fc58623","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"933390dff3c9e3e654157d61304c5e167fc58623","size":4860,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.1.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-json-2.1.1.tgz_1491745314082_0.8888735498767346"},"directories":{},"publish_time":1491745314634,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1491745314634,"_cnpmcore_publish_time":"2021-12-16T11:32:02.622Z"},"2.1.0":{"name":"rollup-plugin-json","version":"2.1.0","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","eslint-plugin-import":"^2.2.0","mocha":"^3.0.2","rollup":"^0.37.0","rollup-plugin-buble":"^0.15.0","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-json.git"},"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"8f753fa894aa41b1a7ec8b4def5d655c69f7731c","description":"Convert .json files to ES6 modules:","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","_id":"rollup-plugin-json@2.1.0","_shasum":"7f8e1b2b156932dd934b938dc5547e4118d4121f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"7f8e1b2b156932dd934b938dc5547e4118d4121f","size":4815,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.1.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-json-2.1.0.tgz_1481840124602_0.45574343646876514"},"directories":{},"publish_time":1481840125296,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1481840125296,"_cnpmcore_publish_time":"2021-12-16T11:32:02.826Z"},"2.0.2":{"name":"rollup-plugin-json","version":"2.0.2","main":"dist/rollup-plugin-json.cjs.js","module":"dist/rollup-plugin-json.es.js","jsnext:main":"dist/rollup-plugin-json.es.js","devDependencies":{"eslint":"^3.4.0","mocha":"^3.0.2","rollup":"^0.34.13","rollup-plugin-buble":"^0.13.0","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"4646390162692d4058724b3641cda792b82a46c7","description":"Convert .json files to ES6 modules:","_id":"rollup-plugin-json@2.0.2","_shasum":"de2ed32fe056ee00f13bfc6f56466d3564f4a6f3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"de2ed32fe056ee00f13bfc6f56466d3564f4a6f3","size":4510,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.0.2.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-json-2.0.2.tgz_1473209118433_0.7650696584023535"},"directories":{},"publish_time":1473209120029,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1473209120029,"_cnpmcore_publish_time":"2021-12-16T11:32:03.053Z"},"2.0.1":{"name":"rollup-plugin-json","version":"2.0.1","main":"dist/rollup-plugin-json.cjs.js","jsnext:main":"dist/rollup-plugin-json.es6.js","devDependencies":{"eslint":"^1.7.3","mocha":"^2.3.3","rollup":"^0.20.5","rollup-plugin-babel":"^1.0.0","rollup-plugin-buble":"^0.12.1","rollup-plugin-node-resolve":"^1.5.0","source-map-support":"^0.3.3"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-json.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-json.es6.js","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"dependencies":{"rollup-pluginutils":"^1.2.0"},"gitHead":"ea863d0d16dba182ec5ffdc084dd42f03bf1fa6b","description":"Convert .json files to ES6 modules:","_id":"rollup-plugin-json@2.0.1","_shasum":"83e45e9e3c0eeae2991a8ae70aba6cc53996c1bd","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"83e45e9e3c0eeae2991a8ae70aba6cc53996c1bd","size":3968,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.0.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-json-2.0.1.tgz_1466712643737_0.35982289002276957"},"directories":{},"publish_time":1466712645998,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1466712645998,"_cnpmcore_publish_time":"2021-12-16T11:32:03.317Z"},"2.0.0":{"name":"rollup-plugin-json","version":"2.0.0","main":"dist/rollup-plugin-json.cjs.js","jsnext:main":"dist/rollup-plugin-json.es6.js","devDependencies":{"eslint":"^1.7.3","mocha":"^2.3.3","rollup":"^0.20.5","rollup-plugin-babel":"^1.0.0","source-map-support":"^0.3.3"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-json.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-json.es6.js","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"dependencies":{"rollup-pluginutils":"^1.2.0"},"gitHead":"7e3722e4553d03f569ea6d1baac25f864e5cac28","description":"Convert .json files to ES6 modules:","_id":"rollup-plugin-json@2.0.0","_shasum":"09219b4ccf8d4285029e503bd4c64223f9b9361a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"09219b4ccf8d4285029e503bd4c64223f9b9361a","size":4340,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-2.0.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"directories":{},"publish_time":1446764553553,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1446764553553,"_cnpmcore_publish_time":"2021-12-16T11:32:03.632Z"},"1.0.0":{"name":"rollup-plugin-json","version":"1.0.0","main":"dist/rollup-plugin-json.cjs.js","jsnext:main":"dist/rollup-plugin-json.es6.js","devDependencies":{"eslint":"^1.7.3","gobble":"^0.10.2","gobble-cli":"^0.6.0","gobble-rollup":"^0.11.0","mocha":"^2.3.3","rollup-plugin-babel":"^1.0.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm test"},"files":["src","dist","README.md"],"gitHead":"ee943a232eb19a57c24a0e92dfee081f6531cb93","description":"Convert .json files to ES6 modules:","_id":"rollup-plugin-json@1.0.0","_shasum":"f4cb0a8e158d34eefbc412c0dd60aa89b4ab5e54","_from":".","_npmVersion":"2.5.1","_nodeVersion":"4.1.2","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":""},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"dist":{"shasum":"f4cb0a8e158d34eefbc412c0dd60aa89b4ab5e54","size":975,"noattachment":false,"key":"/rollup-plugin-json/-/rollup-plugin-json-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-json/download/rollup-plugin-json-1.0.0.tgz"},"directories":{},"publish_time":1445814157160,"_hasShrinkwrap":false,"deprecated":"This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.","_cnpm_publish_time":1445814157160,"_cnpmcore_publish_time":"2021-12-16T11:32:03.823Z"}},"readme":"# rollup-plugin-json\n\nConvert .json files to ES6 modules:\n\n```js\n// import a single property from a JSON file,\n// discarding the rest\nimport { version } from './package.json';\nconsole.log( `running version ${version}` );\n\n// import the whole file as an object\nimport pkg from './package.json';\nconsole.log( `running version ${pkg.version}` );\n```\n\n\n## Installation\n\n```bash\nnpm install --save-dev rollup-plugin-json\n```\n\n\n## Usage\n\n```js\n// rollup.config.js\nimport json from 'rollup-plugin-json';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife'\n  },\n\n  plugins: [\n    json({\n      // All JSON files will be parsed by default,\n      // but you can also specifically include/exclude files\n      include: 'node_modules/**',\n      exclude: [ 'node_modules/foo/**', 'node_modules/bar/**' ],\n\n      // for tree-shaking, properties will be declared as\n      // variables, using either `var` or `const`\n      preferConst: true, // Default: false\n\n      // specify indentation for the generated default export —\n      // defaults to '\\t'\n      indent: '  ',\n\n      // ignores indent and generates the smallest code\n      compact: true, // Default: false\n\n      // generate a named export for every property of the JSON object\n      namedExports: true // Default: true\n    })\n  ]\n};\n```\n\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/rollup/rollup-plugin-json#readme","bugs":{"url":"https://github.com/rollup/rollup-plugin-json/issues"},"license":"MIT"}