{"name":"webpack-serve-overlay","version":"0.2.2","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":"456150ff19952e4f7d281902dcca61f930ccb7ec","_id":"webpack-serve-overlay@0.2.2","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"dist":{"integrity":"sha512-x8yYIC+W2fjp7KfNRzVGYWwGvno+t9q/YJdRZEP/ef6nEyHG6YpTWYUu6ZaordAbIhh172+58rMLJdsPbLKxPg==","shasum":"f67857d07b5cb751c84731c531199a32a325b94c","tarball":"http://registry-npm.ywwl.com/webpack-serve-overlay/download/webpack-serve-overlay-0.2.2.tgz","fileCount":10,"unpackedSize":18688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNthSCRA9TVsSAnZWagAA3UwP/2z1/XWtP5B2kIpX0CVk\nlI+UKX0J7DeNXjhl8XFV1myJZNHlZkX7J6YAf7zHZX6lJXnOExSp8SkXpE4x\nhHnECY1G8vVqckY8kadwE8H2ig2UE7tbEgIyAIkqNtPckYBQ/OwIG5GtTpDQ\nLNPDInnbIin0SsRkljTFea7ub5llPusGMjqr+tXeWScLpBDn55qEyAEbzm4M\nZOzff0RmUucMIzyluz2G6DV/CPTrffMxpyDStmQhf7bKeGdLoFL1lvLgGBLr\n1Ad3jKUwB1Sq3L5YfuCp4GQBpddkwuvZifog6as26AJIPhK0etWVzEpdlgl1\nrG/i1Qx2Pdb2hH9UHZNEMVUrw4XXRE1mQijyZkqI0dt6RH/j4qkQpxX4cSyQ\ntHhSfxCQZIon7YlVTHTCBr0b1FE51ygfpFP99DHY123oeY+wCLt9/xDBPIuX\nJN0s3R+gfxFLq9zw2qaca3DWu4OR4FxnxUSAkNo4Hu0mzz9pJdI0k/GMXyRZ\n0nF8XMxRY8/g92LS+BMxRuuv/U5d6hi/zERGkzKW38K1zfGBe90xnRL+WzES\n4r61xR7rDirR0WsRKZ96B9HOMI7hzMcPcPlyjpq447tOetm7YblorV3nlihs\n/4hI2BgYNL6g0Zunh+EQMumBZHzL4rLSGfuvRzYtd8w+RYECtLWncNGzaTk7\nVKOX\r\n=0z/p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDslZ9R/IIsR2ti3+H8eSh0IrQK077LK7HuR8SnIV7+MQIhAI9jFyZvkAgi1yvIRG1BoAwwygFkQ5Jzi5e+hVHZfhKe"}],"size":6521,"noattachment":false,"key":"/webpack-serve-overlay/-/webpack-serve-overlay-0.2.2.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve-overlay_0.2.2_1530320978439_0.8755750581189976"},"_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":1530320978506,"_cnpm_publish_time":1530320978506,"dist-tags":{"latest":"0.3.0"}}