{"name":"rollup-plugin-livereload","version":"1.3.0","description":"Rollup plugin for LiveReload that watches the bundle and reloads the page on change","main":"dist/index.cjs.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","scripts":{"build":"rollup -c","dev":"rollup -cw","lint":"standard rollup.config.js src/**","test":"cd test && rollup -cw ; cd ..","prepare":"npm run build"},"keywords":["rollup","rollup-plugin","livereload","lr"],"license":"MIT","author":{"name":"Thomas Ghysels","email":"info@thomasg.be"},"homepage":"https://github.com/thgh/rollup-plugin-livereload","bugs":{"url":"https://github.com/thgh/rollup-plugin-livereload/issues"},"repository":{"type":"git","url":"git+https://github.com/thgh/rollup-plugin-livereload.git"},"dependencies":{"livereload":"^0.9.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.1","rollup":"2","rollup-plugin-serve":"1"},"gitHead":"86c1d27755f06875d2bc702bde4619eec372ede4","_id":"rollup-plugin-livereload@1.3.0","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-abyqXaB21+nFHo+vJULBqfzNx6zXABC19UyvqgDfdoxR/8pFAd041GO+GIUe8ZYC2DbuMUmioh1Lvbk14YLZgw==","shasum":"8da90df13df6502b9d982997d6ac871092f15fdd","tarball":"http://registry-npm.ywwl.com/rollup-plugin-livereload/download/rollup-plugin-livereload-1.3.0.tgz","fileCount":6,"unpackedSize":9145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep/nPCRA9TVsSAnZWagAAosIP/RPs+pAemCyGcxsSfCDb\nskU0triYBD4cZKIYoVKvV7Ux2Qs9YHoMK5+3KraEWWcfMNgdhI9bv4jDY7dN\nJBPccUtmuEUe5G42zeMSHdOse7Sicpe/IECLDpYrrY3PFIoXNB7k/FLEYvf7\nh4+Rt0SBYpGw5jq9twtmlLSj2kfA1h4jtFV9DhINx7GuOoRAwMQSrvafKqSN\nHvqQ953vBOXPBZTOAiwslbjEProBKdy1fbhiDJ58XXnxT0NpMS4iTv21EHiJ\nH98OrfI7ar6LWcNa2l2x72pC4KL2C7qwddBip6sCYJovMpx+cQkQVK+SMfLV\nG9/jT3Fd3ObvVMF+DQx+126DFwZmy5d6mRf6N1nnKZNfmQS4bErfjZx6s0wj\nl5ZMpoO6Qr72csPI4BMKGFmetwNvgRgQA79lYYf2p/8ye2fiFLv/E2aYP/Uh\nsccEExVBqMK5DZ2uQZxer6xu6FtJOdxsBFVYt9hbdvoRtJIsz/9qed8Lwve1\nn5JOlWGq46lfsMT8LINgvAocHENI0AWy8Z39PWL6xU/lgsytWRUXsHHshwz2\nIhInsqwdEU60TbK40483EdPwgdlEFPcTvxjQqu//yiMq7I+e7q2bgcQd2r+t\nDVFeWuwIAUUP2rsWzbFqs7NwpWycT3LhLJxODpEtGTz4znNvLvOGfUluFiz/\nWPS6\r\n=gJef\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW1hbEJ+SIFglxkn/lkgs5MsDDqJyl6zjJ/lUpO/aRWQIhAKeXMznBA1u0zVi0nwpLlijUq+cqk5vbEx1s8/HtJGOA"}],"size":3338,"noattachment":false,"key":"/rollup-plugin-livereload/-/rollup-plugin-livereload-1.3.0.tgz"},"maintainers":[{"name":"thgh","email":"info@thomasg.be"}],"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-livereload_1.3.0_1588066767189_0.981125726024598"},"_hasShrinkwrap":false,"readme":"# Rollup plugin LiveReload\n\n<a href=\"LICENSE\">\n  <img src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"Software License\" />\n</a>\n<a href=\"https://github.com/thgh/rollup-plugin-livereload/issues\">\n  <img src=\"https://img.shields.io/github/issues/thgh/rollup-plugin-livereload.svg\" alt=\"Issues\" />\n</a>\n<a href=\"http://standardjs.com/\">\n  <img src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg\" alt=\"JavaScript Style Guide\" />\n</a>\n<a href=\"https://npmjs.org/package/rollup-plugin-livereload\">\n  <img src=\"https://img.shields.io/npm/v/rollup-plugin-livereload.svg?style=flat-squar\" alt=\"NPM\" />\n</a>\n<a href=\"https://github.com/thgh/rollup-plugin-livereload/releases\">\n  <img src=\"https://img.shields.io/github/release/thgh/rollup-plugin-livereload.svg\" alt=\"Latest Version\" />\n</a>\n\n## Installation\n\n```\nnpm install --save-dev rollup-plugin-livereload\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport livereload from 'rollup-plugin-livereload'\n\nexport default {\n  entry: 'entry.js',\n  dest: 'bundle.js',\n  plugins: [livereload()],\n}\n```\n\nTo make it a real dev-server, combine this plugin with [rollup-plugin-serve].\n\n```js\n// rollup.config.js\nimport serve from 'rollup-plugin-serve'\nimport livereload from 'rollup-plugin-livereload'\n\nexport default {\n  entry: 'entry.js',\n  dest: 'bundle.js',\n  plugins: [\n    serve(), // index.html should be in root of project\n    livereload(),\n  ],\n}\n```\n\n### Options\n\nBy default, it watches the current directory. If you also have css output, pass the folder to which the build files are written.\n\n```\nlivereload('dist')\n\n// --- OR ---\n\nlivereload({\n  watch: 'dist',\n  verbose: false, // Disable console output\n\n  // other livereload options\n  port: 12345,\n  delay: 300,\n  https: {\n      key: fs.readFileSync('keys/agent2-key.pem'),\n      cert: fs.readFileSync('keys/agent2-cert.pem')\n  }\n})\n```\n\nOptions are always passed to [`livereload.createServer()`][livereload]\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nContributions and feedback are very welcome.\n\nTo get it running:\n\n1. Clone the project.\n2. `npm install`\n3. `npm run build`\n\n## Credits\n\n- [Thomas Ghysels](https://github.com/thgh)\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[link-author]: https://github.com/thgh\n[link-contributors]: ../../contributors\n[livereload]: https://www.npmjs.com/package/livereload\n[rollup-plugin-serve]: https://www.npmjs.com/package/rollup-plugin-serve\n","publish_time":1588066767342,"_cnpm_publish_time":1588066767342,"dist-tags":{"latest":"2.0.5","rc":"2.0.0-0"}}