{"name":"webpack-serve-overlay","version":"0.1.0","description":"Error overlay for webpack-serve","homepage":"https://github.com/g-rath/webpack-serve-overlay#readme","bugs":{"url":"https://github.com/g-rath/webpack-serve-overlay/issues"},"repository":{"type":"git","url":"git+https://github.com/g-rath/webpack-serve-overlay.git"},"license":"ISC","author":{"name":"Gareth Jones"},"main":"errorOverlay.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","version":"node ./scripts/npm-version.js"},"dependencies":{"ansi-html":"0.0.7","html-entities":"^1.2.1"},"devDependencies":{},"gitHead":"07a12acf258427d24a1464d51044401e3e68f8fd","_id":"webpack-serve-overlay@0.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"dist":{"integrity":"sha512-2museFqzDTy7LN3S9a0Jp6gp3oMRxS/R+iqqDoG1hkCaPPZFC2ri9d2Svj/NwAz48CQHOr+CCc4QTufLiTAKLg==","shasum":"d3f58fe76dc82098426a44aada9b28212534ce48","tarball":"http://registry-npm.ywwl.com/webpack-serve-overlay/download/webpack-serve-overlay-0.1.0.tgz","fileCount":10,"unpackedSize":17435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNrScCRA9TVsSAnZWagAAEVcP/jDOU5xqFGb8/6ldePIc\ngAI53DLy9Ty+46qSYXPtiOeBi3L/wAkfuV+BwTfyOgECLQ4MOycnAxP5WdGE\ndQVWNzPGA+qHXWwbYM64vLaxPFiuzf9eku4Qfdc4U43Gf+GQKzJ6k1dfQIbC\n4Ksgy8FqH/1VvHSyco7QSLyeoRTJhXGgx/ylcdVLuSm5lqruwg2vkEDiIxZA\nkluGChDY50Eg2J9HLB0BbRH3PTaTBWxh6tSYfCexR9BruZ/02UUWKzPbFZNB\nC0QcR9V296optn+0M7jNTUGBmBCBt2c9/yxKldInVXsod9l4r9UIC1Rc0v/H\ngfggs/vXglhegnY6pNN6taykUA0hDdu2ZAYEeshXQCg2lZq2ylSHHvrwpus6\nphpMXCPAK75rsfxp2Y6mO2BrBxVlhl8IjIn0S+7RuE+VHy0xBRFtMh6GDq8o\nSv3IddRUet7r1GnGtAvlbKlhn5SHNF+Ec0SsjAUWhxtlOu74da59djVtGmKe\ny+O6jUjdNe5lenk6bbXa5rRvxKv0fRud0NjTRKz8NBxAGw1ruf0RZH+Zyucd\nkSa0FLMqZ8cEuthGh7nwk4WKO6gLXGm3vJwVZSmgYnuJfS0EpMMv8qvMzk0M\nvqqR4aelixm08ZEWI15e3BPn8hpriHf7ASMkJrUPfIln4R5kcTV/dM0ev0fm\n+/UA\r\n=11nO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID37ljzDMgTF6aJsW4Ty9HyNXyVtSUXSe+JPLwCz1NasAiEA2aUkyIW6GByA6biJL2cy0Ui+I0zsk57pybRbD7VGot0="}],"size":6097,"noattachment":false,"key":"/webpack-serve-overlay/-/webpack-serve-overlay-0.1.0.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve-overlay_0.1.0_1530311836555_0.14663567655255028"},"_hasShrinkwrap":false,"readme":"# webpack-serve-overlay\n\nA rudimentary overlay for [`webpack-serve`](https://github.com/webpack-contrib/webpack-serve), based off the one used in `webpack-dev-server`.\n\nThis package is targeted at serves as a quick fully functional way of \nbeing able to have the same overlay as `webpack-dev-server` in `webpack-serve` with minimal fuss & expense.\n\n## Usage\n\nInstall the package:\n\n```\nnpm i webpack-serve-overlay\n```\n\nThen require the overlay at the top of your `index.jsx` (or equivalent):\n\n```javascript\n// becomes dead code in builds other than dev,\n// which webpack should pick up and remove.\nif(process.env.NODE_ENV === 'development') {\n    require('webpack-serve-overlay');\n}\n```\n\nand you'll be away laughing.\n\n## Configuration\n\nThe overlay works by using a WebSocket that connects to `webpack-serve` à la `webpack-hot-client`.  \nThis means that it *shouldn't* require any extra settings or configuration.\n\nHowever, just in case, you can manually specify the WebSocket url by setting the `WEBPACK_SERVE_OVERLAY_WS_URL` env property.\n","publish_time":1530311836670,"_cnpm_publish_time":1530311836670,"dist-tags":{"latest":"0.3.0"}}