{"name":"webpack-serve-overlay","version":"0.3.0","description":"Error overlay for webpack-serve","keywords":["webpack","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":"4719df90c1f3f61246b1ad8b51873e5226cf36d0","_id":"webpack-serve-overlay@0.3.0","_npmVersion":"6.2.0","_nodeVersion":"8.11.2","_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"dist":{"integrity":"sha512-JFm8tElxKx8Mv9hdgAXykqtZeKhO8i+NgmAXU1+gFodNmmL8dUUG+hOHdCxTEyIaInxCUgm7gZPiHIMjs9Ucog==","shasum":"3ef21ca1dd834f3d106e028a0f8b2ca81f337517","tarball":"http://registry-npm.ywwl.com/webpack-serve-overlay/download/webpack-serve-overlay-0.3.0.tgz","fileCount":10,"unpackedSize":19557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYPKtCRA9TVsSAnZWagAAtmoP/RAzviqtuzfCw482EnjN\nWxA1sdDWmc2e3whtOV6cuCuFELwZttQG34Hsi2CYX5jUa3fF2pu3QgECUtpv\nKOR1lhAQMKEF98O48wPHkHHLJ5LROb8UxK9cT2grbzbDslZKjEsA3ipIudGr\n/YIFhfVMRsjxQ6p8do30EjegfbBahcRr2nI0RnfuW6hlX/RwBZ2NyuPHM2XX\n9ARzllASl/ySugbDjZo6RObjihB51HRt3T/oWt6upM8GyoKoRWuVHep8hjXW\nkZ2d6TWykIVcz7OywuQL3v2OvF77v1Q5GzKIISc7q+TR/TF2iF1L3bdxQoUQ\npI5LJbw7mBa3VGsNHUfRg4DjTUpErtMsQcF0rmh+uTpQn98qFFPkgGRliZfE\nLjeQIv/V5QG0Y16Z8sQfyARWbQJvsMiXsZav8xQKxzT+7ByEp3RrPfJskyW7\nRcV8rgc/VNr4uhHhbx/+Flq1gU1ADbl9QnCS/IjgTT5kStWMw/parXKFqGNA\neTAeI1b/3pJlK5RPcDMytTiEX0pgkyaLpWhJXYcvRDZ2YaMGaEY5aQenbbYu\n9eQ16MZ4UfQtjQS0PhYyH1wW3YYouu+WHjqGDPMrhE22d2u0slJXy3Xoez2Y\nSsiTlKF7klU+7X4OLfIQqqP/eNSFvRx27HQMQKDp8mDF1prZNgoy0dwtlvbJ\nOSlI\r\n=GLLk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpdXWqVu0JxD+itOzPFcNbONtHU45QV5x1/ProFnMq5AiANj5fOqz5q9KaCmf3Wix5DHG02GufuGHTFhY46NHS4qQ=="}],"size":6845,"noattachment":false,"key":"/webpack-serve-overlay/-/webpack-serve-overlay-0.3.0.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve-overlay_0.3.0_1533080236612_0.8798888358813799"},"_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":1533080236716,"_cnpm_publish_time":1533080236716,"dist-tags":{"latest":"0.3.0"}}