{"name":"webpack-serve-overlay","version":"0.2.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":"7e43f5b77b173eacab096ae42273457d422f64aa","_id":"webpack-serve-overlay@0.2.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"dist":{"integrity":"sha512-fmpE3EZ+9zvp4NVNKkL5ZTqpCOlSfqdZA+9KlP5bgUrkImmy11svUrfWOQFvCeDH3qjzCU4aPmqvS2dUm+rR0w==","shasum":"33e3938114836ba94f8b2c65cb2cd078e9bbc020","tarball":"http://registry-npm.ywwl.com/webpack-serve-overlay/download/webpack-serve-overlay-0.2.0.tgz","fileCount":10,"unpackedSize":17888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNryXCRA9TVsSAnZWagAAXHcP/jTZVlRuCtI8xOD05WtP\nIjq3L/9d6cCRbEyvPWIZg3OY34CMDm2hFf0VLEnJwr5BFh+bMydjEH0eYMCs\nYdDFzU6VZdOTR18iRGBmCDjj2TZyv/E8U2nkoWWyQ+d5l+w54+Tg7IfFjc6/\nLApE8eYjz4VcEOSWB7XRszWM9QS7QRiCHQ9vf/wMYLrAoXdSRvQe55SEBseV\nueCxTCtkkAvXnJpVhtryZgKX9Ciea+xsMv/8kWztuJ70gV6ozYE58y/OWrVS\n3hEdQjgUdx6i6oGs9eRQhNj2/YIz3TCpN/4Sd9VrYwSr6/3ldf5pINdk1kxi\nR6moL7sweuXXmrH6aUaQOA/VknY0sU9LvVHveztqKUtWl+4KIBfwM3IGdY+C\nFtr3zbwyRVhSyeAk+CkbtWzdqdwavBi4B41WgaZA87yOzdvEr8qCa5uiVzLq\naYu1b+sqzQycOg/5FnGEN0vOOTE4wbVemxzpSFm75mrUzlgLlouttBp9ZNQO\nSRmU8/3NF9glHysGR4+QZUViYesZtHXsWrq48cfvnB50leA4hBM50h0cPGaK\nRZ93HeXwmLquhu9XcKJrRF9cx7Gd+hB1O0n0mxXnMtWlbTNp7kCLLRia2Bfq\nbCJW1/BS2AGW9jMAmLpgfSCBNOY9h9yg7bm3/CaK0M2O4anZXhmdt5jFZARY\nczKK\r\n=6Emd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR7OFqNCLdXo0MxBSfwSxTucds/7eh47jYDQ2Vcyiq5gIgA0fm2mI5yC5uX9WTwRmfbXwf506zPfZXPQ03y94CWl4="}],"size":6243,"noattachment":false,"key":"/webpack-serve-overlay/-/webpack-serve-overlay-0.2.0.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve-overlay_0.2.0_1530313879100_0.31538477163684986"},"_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":1530313879169,"_cnpm_publish_time":1530313879169,"dist-tags":{"latest":"0.3.0"}}