{"_id":"@anonym/rollup-plugin-legacy","_rev":"2-52ebb5733c6fcecb7f6b6d1c6c5784c7","name":"@anonym/rollup-plugin-legacy","description":"Add export statements to plain scripts","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@anonym/rollup-plugin-legacy","version":"1.0.0","description":"Add export statements to plain scripts","main":"dist/rollup-plugin-legacy.cjs.js","module":"dist/rollup-plugin-legacy.es.js","jsnext:main":"dist/rollup-plugin-legacy.es.js","files":["dist","README.md","LICENSE"],"scripts":{"test":"mocha","prepublishOnly":"npm run lint && npm run build","build":"rollup -c","pretest":"npm run build","lint":"eslint src"},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-legacy.git"},"keywords":["rollup"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-legacy/issues"},"homepage":"https://github.com/rollup/rollup-plugin-legacy#README","devDependencies":{"eslint":"^3.10.2","magic-string":"^0.22.4","mocha":"^3.1.2","rollup":"^0.36.3","rollup-plugin-buble":"^0.14.0"},"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"f95f113ed25833cc6b96c4721060a2c31e8b7a07","_id":"@anonym/rollup-plugin-legacy@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"anonym","email":"Anonym.tsk@gmail.com"},"dist":{"integrity":"sha512-RwyYT2sFfZ87CnHXTAL9wekdTt9d5ljTiTNmJIhCLsVfCVyIdpaI9ZXaFgsUW39bikw5aJeG+GS9VdPaiqkCQA==","shasum":"7fb2e77687c1d5b6d84777f0a0fd9b3c26d62f81","tarball":"https://registry.npmjs.org/@anonym/rollup-plugin-legacy/-/rollup-plugin-legacy-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDV0CbIUWPKNPzD/kepwLQOm9ifX2ZzmZbSll+jqm2M8AiBPLjpWZShFOM2T4Au2v1ta/Mn9IhwaBHdY6ZpqnRC9oA=="}]},"maintainers":[{"name":"anonym","email":"Anonym.tsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-legacy-1.0.0.tgz_1513594963703_0.09157261368818581"}},"1.0.1":{"name":"@anonym/rollup-plugin-legacy","version":"1.0.1","description":"Add export statements to plain scripts","main":"dist/rollup-plugin-legacy.cjs.js","module":"dist/rollup-plugin-legacy.es.js","jsnext:main":"dist/rollup-plugin-legacy.es.js","files":["dist","README.md","LICENSE"],"scripts":{"test":"mocha","prepublishOnly":"npm run lint && npm run build","build":"rollup -c","pretest":"npm run build","lint":"eslint src"},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-legacy.git"},"keywords":["rollup"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-legacy/issues"},"homepage":"https://github.com/rollup/rollup-plugin-legacy#README","devDependencies":{"eslint":"^3.10.2","magic-string":"^0.22.4","mocha":"^3.1.2","rollup":"^0.36.3","rollup-plugin-buble":"^0.14.0"},"dependencies":{"rollup-pluginutils":"^1.5.2"},"gitHead":"f95f113ed25833cc6b96c4721060a2c31e8b7a07","_id":"@anonym/rollup-plugin-legacy@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"anonym","email":"Anonym.tsk@gmail.com"},"dist":{"integrity":"sha512-WuyFBDLx6+Jj3rmR+7qSNETF0qmKLIARllkxBbfzrYhG6wEryTE+9vnnjfJxSZT9Xt0V4+lGNIDF1VSXpPfO5Q==","shasum":"16c2c1a4fbb4f1f0af2425903ae118a222b1d439","tarball":"https://registry.npmjs.org/@anonym/rollup-plugin-legacy/-/rollup-plugin-legacy-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMCspGBsNA6353nSMupZV8ftyy74DMyZvh7IIFyZplPAiA4ikW5xhnlRIlLd1mnRKXBMbYny6O0FMxLdYjBKHTUVQ=="}]},"maintainers":[{"name":"anonym","email":"Anonym.tsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-legacy-1.0.1.tgz_1513595084709_0.5655989178922027"}}},"readme":"# rollup-plugin-legacy\n\nAdd `export` declarations to legacy non-module scripts.\nThis module supports sourcemaps. See https://github.com/rollup/rollup-plugin-legacy/pull/3\n\n## Installation\n\n```bash\nnpm install --save-dev rollup-plugin-legacy\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport legacy from 'rollup-plugin-legacy';\n\nexport default {\n  entry: 'src/main.js',\n  dest: 'bundle.js',\n  format: 'iife',\n  plugins: [\n    legacy({\n      // add a default export, corresponding to `someLibrary`\n      'vendor/some-library.js': 'someLibrary',\n\n      // add named exports\n      'vendor/another-library.js': {\n        foo: 'anotherLib.foo',\n        bar: 'anotherLib.bar',\n        baz: 'anotherLib.baz'\n      }\n    })\n  ]\n}\n```\n\n## License\n\nMIT\n","maintainers":[{"name":"anonym","email":"Anonym.tsk@gmail.com"}],"time":{"modified":"2022-04-04T14:19:00.757Z","created":"2017-12-18T11:02:44.577Z","1.0.0":"2017-12-18T11:02:44.577Z","1.0.1":"2017-12-18T11:04:46.856Z"},"homepage":"https://github.com/rollup/rollup-plugin-legacy#README","keywords":["rollup"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-legacy.git"},"author":{"name":"Rich Harris"},"bugs":{"url":"https://github.com/rollup/rollup-plugin-legacy/issues"},"license":"MIT","readmeFilename":"README.md"}