{"_id":"@rollup/plugin-json","_rev":"3286651","name":"@rollup/plugin-json","description":"Convert .json files to ES6 modules","dist-tags":{"latest":"6.1.0"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"time":{"modified":"2024-05-23T06:31:22.000Z","created":"2019-11-10T14:54:18.705Z","6.1.0":"2023-12-12T15:33:37.473Z","6.0.1":"2023-10-05T12:03:33.647Z","6.0.0":"2022-12-17T15:14:08.547Z","5.0.2":"2022-11-27T17:02:29.148Z","5.0.1":"2022-10-21T19:09:18.474Z","5.0.0":"2022-10-10T10:51:06.646Z","4.1.0":"2020-06-05T13:50:04.899Z","4.0.3":"2020-04-19T00:24:06.073Z","4.0.2":"2020-02-01T18:20:10.090Z","4.0.1":"2019-12-21T21:30:42.647Z","4.0.0":"2019-11-10T14:54:18.705Z"},"users":{},"author":{"name":"rollup"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"versions":{"6.1.0":{"name":"@rollup/plugin-json","version":"6.1.0","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0||^4.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.1.0"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","@rollup/plugin-node-resolve":"^15.0.0","rollup":"^4.0.0-24","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"_id":"@rollup/plugin-json@6.1.0","_integrity":"sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==","_resolved":"/tmp/e58800e5d79d3c3b298d155b73d15a19/rollup-plugin-json-6.1.0.tgz","_from":"file:rollup-plugin-json-6.1.0.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"fbe784e29682e9bb6dee28ea75a1a83702e7b805","size":3758,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-6.1.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_6.1.0_1702395217257_0.6010264870658086"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-12T15:33:37.473Z","publish_time":1702395217473,"_source_registry_name":"default","_cnpm_publish_time":1702395217473},"6.0.1":{"name":"@rollup/plugin-json","version":"6.0.1","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0||^4.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","@rollup/plugin-node-resolve":"^15.0.0","rollup":"^4.0.0-24","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"_id":"@rollup/plugin-json@6.0.1","gitHead":"6a4e19605458a484c9daa2c45635c7d73599fb23","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"shasum":"7e2efcf5ed549963f1444e010611d22f463931c0","size":2935,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-6.0.1.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_6.0.1_1696507413345_0.7022617116221439"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-05T12:03:33.647Z","publish_time":1696507413647,"_source_registry_name":"default","_cnpm_publish_time":1696507413647},"6.0.0":{"name":"@rollup/plugin-json","version":"6.0.0","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","@rollup/plugin-node-resolve":"^15.0.0","rollup":"^3.2.3","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"ba1c90019930e9a31f5c710bc72786772daf1373","_id":"@rollup/plugin-json@6.0.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"199fea6670fd4dfb1f4932250569b14719db234a","size":2933,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-6.0.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_6.0.0_1671290048360_0.31867515152085324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-17T15:14:13.212Z","publish_time":1671290048547,"_cnpm_publish_time":1671290048547},"5.0.2":{"name":"@rollup/plugin-json","version":"5.0.2","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","@rollup/plugin-node-resolve":"^15.0.0","rollup":"^3.2.3","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"87de3f50a553649806fc2a69343876ba34b499a2","_id":"@rollup/plugin-json@5.0.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"d7dbbac62ff74064876b3e5d0d863cb3ad1e7cdb","size":2954,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-5.0.2.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_5.0.2_1669568548982_0.8102219198519103"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-27T17:02:39.848Z","publish_time":1669568549148,"_cnpm_publish_time":1669568549148},"5.0.1":{"name":"@rollup/plugin-json","version":"5.0.1","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","@rollup/plugin-node-resolve":"^15.0.0","rollup":"^3.2.3","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"55ceae39b6c4db0467674e3c3038aa4f753429d2","_id":"@rollup/plugin-json@5.0.1","_nodeVersion":"18.11.0","_npmVersion":"8.19.2","dist":{"shasum":"d5cd67cc83ede42967447dfabbe1be45a091f5b7","size":2953,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-5.0.1.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_5.0.1_1666379358301_0.8282937556998065"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-21T23:37:15.956Z","publish_time":1666379358474,"_cnpm_publish_time":1666379358474},"5.0.0":{"name":"@rollup/plugin-json","version":"5.0.0","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/json"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose && pnpm test:ts","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^4.2.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.0","@rollup/plugin-node-resolve":"^14.1.0","rollup":"^3.0.0-7","source-map-support":"^0.5.21"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"d4548c18a8a25e6d0c6176f2f89ce1d253a22c6d","_id":"@rollup/plugin-json@5.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"1e3e18302637760353c83a41d1f3c4e760afb20d","size":2957,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-5.0.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_5.0.0_1665399066483_0.23689695806284816"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-10T13:51:48.117Z","publish_time":1665399066646,"_cnpm_publish_time":1665399066646},"4.1.0":{"name":"@rollup/plugin-json","version":"4.1.0","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:json && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test types --ext .js,.ts","lint:json":"prettier --write \"test/fixtures/!(garbage)/*.json\"","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint && pnpm run test","pretest":"pnpm run build","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0 || ^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.0.8"},"devDependencies":{"@rollup/plugin-buble":"^0.21.0","@rollup/plugin-node-resolve":"^7.0.0","source-map-support":"^0.5.16"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","types":"types/index.d.ts","_id":"@rollup/plugin-json@4.1.0","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"54e09867ae6963c593844d8bd7a9c718294496f3","size":4999,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-4.1.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_4.1.0_1591365004789_0.38533025490010986"},"_hasShrinkwrap":false,"publish_time":1591365004899,"_cnpm_publish_time":1591365004899},"4.0.3":{"name":"@rollup/plugin-json","version":"4.0.3","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:json && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test types --ext .js,.ts","lint:json":"prettier --write \"test/fixtures/!(garbage)/*.json\"","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint && pnpm run test","pretest":"pnpm run build","test":"ava","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0 || ^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.0.8"},"devDependencies":{"@rollup/plugin-buble":"^0.21.0","@rollup/plugin-node-resolve":"^7.0.0","source-map-support":"^0.5.16"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","types":"types/index.d.ts","_id":"@rollup/plugin-json@4.0.3","_nodeVersion":"12.15.0","_npmVersion":"6.14.4","dist":{"shasum":"747e2c2884c5a0fa00b66c9c0f3f1012cddca534","size":4690,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-4.0.3.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_4.0.3_1587255845938_0.6290599412602205"},"_hasShrinkwrap":false,"publish_time":1587255846073,"_cnpm_publish_time":1587255846073},"4.0.2":{"name":"@rollup/plugin-json","version":"4.0.2","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint && pnpm run test","pretest":"pnpm run build","test":"ava","test:ts":"tsc index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"@rollup/pluginutils":"^3.0.4"},"devDependencies":{"@rollup/plugin-buble":"^0.21.0","@rollup/plugin-node-resolve":"^7.0.0","source-map-support":"^0.5.16"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","_id":"@rollup/plugin-json@4.0.2","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"482185ee36ac7dd21c346e2dbcc22ffed0c6f2d6","size":4618,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-4.0.2.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_4.0.2_1580581209998_0.45876190867663724"},"_hasShrinkwrap":false,"publish_time":1580581210090,"_cnpm_publish_time":1580581210090},"4.0.1":{"name":"@rollup/plugin-json","version":"4.0.1","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"main":"dist/index.js","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint && pnpm run test","pretest":"pnpm run build","test":"ava","test:ts":"tsc index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"rollup-pluginutils":"^2.5.0"},"devDependencies":{"rollup-plugin-buble":"^0.19.6","rollup-plugin-node-resolve":"^5.2.0","source-map-support":"^0.5.11"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","bugs":{"url":"https://github.com/rollup/plugins/issues"},"homepage":"https://github.com/rollup/plugins#readme","_id":"@rollup/plugin-json@4.0.1","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"223898c6c37993886da06989b0e93ceef52aa3ce","size":4501,"noattachment":false,"key":"/@rollup/plugin-json/-/@rollup/plugin-json-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-json/download/@rollup/plugin-json-4.0.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_4.0.1_1576963842508_0.298365256839914"},"_hasShrinkwrap":false,"publish_time":1576963842647,"_cnpm_publish_time":1576963842647},"4.0.0":{"name":"@rollup/plugin-json","version":"4.0.0","publishConfig":{"access":"public"},"description":"Convert .json files to ES6 modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"main":"dist/index.js","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint && pnpm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"npm run build","prepublishOnly":"npm run lint && npm run test","pretest":"npm run build","security":"echo 'pnpm needs `npm audit` support'","test":"ava","test:ts":"tsc index.d.ts test/types.ts --noEmit"},"keywords":["rollup","plugin","json","es2015","npm","modules"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"rollup-pluginutils":"^2.5.0"},"devDependencies":{"rollup-plugin-buble":"^0.19.6","rollup-plugin-node-resolve":"^5.2.0","source-map-support":"^0.5.11"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"jsnext:main":"dist/rollup-plugin-json.es.js","module":"dist/index.es.js","bugs":{"url":"https://github.com/rollup/plugins/issues"},"homepage":"https://github.com/rollup/plugins#readme","_id":"@rollup/plugin-json@4.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"4462e83c7ad5544bef4a601a6e8450daedc4b69b","size":4511,"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":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-json_4.0.0_1573397658548_0.7283027854486563"},"_hasShrinkwrap":false,"publish_time":1573397658705,"_cnpm_publish_time":1573397658705}},"readme":"[npm]: https://img.shields.io/npm/v/@rollup/plugin-json\n[npm-url]: https://www.npmjs.com/package/@rollup/plugin-json\n[size]: https://packagephobia.now.sh/badge?p=@rollup/plugin-json\n[size-url]: https://packagephobia.now.sh/result?p=@rollup/plugin-json\n\n[![npm][npm]][npm-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# @rollup/plugin-json\n\n???? A Rollup plugin which Converts .json files to ES6 modules.\n\n## Requirements\n\nThis plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v14.0.0+) and Rollup v1.20.0+.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @rollup/plugin-json --save-dev\n```\n\n## Usage\n\nCreate a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:\n\n```js\nimport json from '@rollup/plugin-json';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'output',\n    format: 'cjs'\n  },\n  plugins: [json()]\n};\n```\n\nThen call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).\n\nWith an accompanying file `src/index.js`, the local `package.json` file would now be importable as seen below:\n\n```js\n// src/index.js\nimport { readFileSync } from 'fs';\n\nconst pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8'));\nconsole.log(`running version ${pkg.version}`);\n```\n\n## Options\n\n### `compact`\n\nType: `Boolean`<br>\nDefault: `false`\n\nIf `true`, instructs the plugin to ignore `indent` and generates the smallest code.\n\n### `exclude`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.\n\n### `include`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.\n\n### `includeArbitraryNames`\n\nType: `Boolean`<br>\nDefault: `false`\n\nIf `true` and `namedExports` is `true`, generates a named export for not a valid identifier properties of the JSON object by leveraging the [\"Arbitrary Module Namespace Identifier Names\" feature](https://github.com/tc39/ecma262/pull/2154).\n\n### `indent`\n\nType: `String`<br>\nDefault: `'\\t'`\n\nSpecifies the indentation for the generated default export.\n\n### `namedExports`\n\nType: `Boolean`<br>\nDefault: `true`\n\nIf `true`, instructs the plugin to generate a named export for every property of the JSON object.\n\n### `preferConst`\n\nType: `Boolean`<br>\nDefault: `false`\n\nIf `true`, instructs the plugin to declare properties as variables, using either `var` or `const`. This pertains to tree-shaking.\n\n## Meta\n\n[CONTRIBUTING](/.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](/LICENSE)\n","_attachments":{},"homepage":"https://github.com/rollup/plugins/tree/master/packages/json#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"license":"MIT"}