{"name":"rollup-plugin-livereload","version":"1.0.2","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"},"peerDependencies":{"rollup":"^1.0.0"},"dependencies":{"livereload":"0.8.0"},"devDependencies":{"rollup":"1","rollup-plugin-buble":"^0.19.6","rollup-plugin-serve":"1"},"gitHead":"e27e707585c1a46ec416b975e6a0b851a100837f","_id":"rollup-plugin-livereload@1.0.2","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-U5kHQDwpbwCi8aOZm3eh2qrd7qaa/TmpZOJLPLbSzwerrIIu8UIx4mZaL6QBxwt2q8t06qrSWLG4V8Cjfg3jQw==","shasum":"023ba1f70dbd8911d9678ae52b7678f6f5aa5811","tarball":"http://registry-npm.ywwl.com/rollup-plugin-livereload/download/rollup-plugin-livereload-1.0.2.tgz","fileCount":6,"unpackedSize":8562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiHGaCRA9TVsSAnZWagAAwEYQAIOTBoCVQWlh6MZciJbq\nH3sdKLKJNS0v56gjmrdC2T3ZYG1s7QoU6o9TMujbeJn5A/MBc0UpCUBtLzrz\nBQLUjUev0N4N7oFRG5m/DYMaFwuVzhw9pnojfoPiDVsb3qkXvhxRSAw1SQBx\n4gUb2CV4S/95f7+Rf3CkGVbQjXSOUB1U8taqCxs54AmP9voVGau1ESqw/sas\n4Ol3hrpQzZpQv3N5jPLRX+1sqKOjmyDFknBgizeiIqev/RpvX+73yX3XvZCw\nPlE9fVxo3GVCcTat9imtZbmD3+Z6J69BdziRh0XNiJkG1bQkmbgftYdvkDzV\n8y+MV91YGPmjVDvMsnK2XlSqn/2hVU0mx6+00krycdaQ0c3VulmMXUbiS+xT\nyu8qp0dVZEU3vTT91CiDlraAqleU6bWXcdXdbtyt+mwc8RJVDyeelG/Y2/cs\nV1QtvCJRTmOzg11loP3ZGEKfaD9ZMuACFxM42wZ1S0JvBGTS6Y6ejniAtW92\n9FH864GalyWVDbR+ZF8AhdKZuczMyANfsQg2rGgRNPTM6Dr49PKr3hgk07cy\nyjSz7p2BF3g0Hm3jLbmkyScVRgMR9EtoqaCz543+eINrR8/WxEdsGj/YuJgM\njisrHMZKVu/w+J4ixU4C6yPWiYYkyiYeypjTxkFbmtK+SCDDnwgnBZe9xndK\ndOmh\r\n=dsB2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDofSH3FmCYrG4fNOLGDHMFpwgD8KPUxkr9MNzh5/CPpAIgK8SbpIRlOfzvIhq2dQXHIEHb22FK2NM0uK/t7RUiaeQ="}],"size":3117,"noattachment":false,"key":"/rollup-plugin-livereload/-/rollup-plugin-livereload-1.0.2.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.0.2_1569223066058_0.13098610209009443"},"_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":1569223066187,"_cnpm_publish_time":1569223066187,"dist-tags":{"latest":"2.0.5","rc":"2.0.0-0"}}