{"_id":"webpack-serve","_rev":"49-791d156e187564d003c0eab613780983","name":"webpack-serve","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","dist-tags":{"latest":"4.0.0","next":"1.0.0-beta.1","beta":"3.0.0-beta.1"},"versions":{"0.0.0":{"name":"webpack-serve","version":"0.0.0","description":"webpack-serve: nothing to see here","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/webpack-serve.git"},"author":{"name":"PatrickJS","email":"github@gdi2290.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/webpack-serve/issues"},"homepage":"https://github.com/gdi2290/webpack-serve#readme","gitHead":"df038a50e5c0df66a883ea7c3e986e0cb2667639","_id":"webpack-serve@0.0.0","_shasum":"dc9e63717d808ab0c2e0015ff09f8ae8ed22ccea","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"shasum":"dc9e63717d808ab0c2e0015ff09f8ae8ed22ccea","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.0.0.tgz","integrity":"sha512-B9HZwjfwIS5Tl4qyZcLHsDVdqy2SKwhFiIZ/GVsDl7YfWGEHxQs79hgfA3s+IzMqBdBPg/gM83xf7NTzDUhRKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQIeHLlsgmk9UMOGXpaeBBE3YrJkkRGbNJT07PLpwt+wIhALagqqIiblOA8fZFQRnVzz+//JXFnTe4qrMUWhNHNB4R"}]},"maintainers":[{"name":"gdi2290","email":"npm@gdi2290.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/webpack-serve-0.0.0.tgz_1459979134354_0.22571506490930915"},"directories":{}},"1.0.0-beta.1":{"name":"webpack-serve","version":"1.0.0-beta.1","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack/webpack-serve","publishConfig":{"tag":"next"},"main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-alpha.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\n  Options\n    --config            The webpack config to serve. Alias for <config>.\n    --content           The path from which content will be served\n    --dev               An object containing options for webpack-dev-middleware\n    --host              The host the app should bind to\n    --http2             Instruct the server to use HTTP2\n    --https-cert        Specify a cert to enable https. Must be paired with a key\n    --https-key         Specify a key to enable https. Must be paired with a cert\n    --https-pass        Specify a passphrase to enable https. Must be paired with a pfx file\n    --https-pfx         Specify a pfx file to enable https. Must be paired with a passphrase\n    --log-level         Limit all process console messages to a specific level and above\n                        {dim Levels: trace, debug, info, warn, error, silent}\n    --log-time          Instruct the logger for webpack-serve and dependencies to display a timestamp\n    --no-hot            Instruct the client not to apply Hot Module Replacement patches\n    --no-reload         Instruct middleware {italic not} to reload the page for build errors\n    --open              Instruct the app to open in the default browser\n    --open-app          The name of the app to open the app within\n    --open-path         The path with the app a browser should open to\n    --port              The port the app should listen on\n    --version           Display the webpack-serve version\n\n  Examples\n    $ webpack-serve ./webpack.config.js --no-reload\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config });\n```\n\n### serve([options])\n\nReturns an `Object` containing:\n\n- `close()` *(Function)* - Closes the server and its dependencies.\n- `on(eventName, fn)` *(Function)* - Binds a serve event to a function. See\n[Events](#events).\n\n#### options\n\nType: `Object`\n\nOptions for initializing and controlling the server provided.\n\n##### compiler\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n##### config\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n##### content\n\nType: `String|[String]`  \nDefault: `[]`\n\nThe path, or array of paths, from which content will be served.\n\n##### dev\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n##### host\n\nType: `Object`  \nDefault: `'localhost'`\n\nSets the host that the `WebSocket` server will listen on. If this doesn't match\nthe host of the server the module is used with, the module will not function\nproperly.\n\n##### hot\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][hot-client].\n\n##### http2\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n##### https\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information.\n\n##### logLevel\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n##### logTime\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n##### open\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n##### port\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\n`webpack-serve` emits select events which can be subscribed to. For example;\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config });\n\nserve.on('listening', () => {\n  console.log('happy fun time');\n});\n```\n\n#### listening\n\nArguments: _None_\n\n## Add-on Features\n\nA core tenant of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nListed below are some of the add-on patterns that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy](docs/addons/proxy.config.js)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n\n## Contributing\n\nWe welcome your contributions! Please have a read of\n[CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to get involved.\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: http://img.shields.io/travis/webpack-contrib/webpack-serve.svg\n[tests-url]: https://travis-ci.org/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://badges.gitter.im/webpack/webpack.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[dev-ware]: /webpack/webpack-dev-middleware\n[hot-client]: /webpack-contrib/webpack-hot-client\n[https-opts]: https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n","readmeFilename":"README.md","gitHead":"e09ae512a66c4d8fe646cacc506ad3602567b325","bugs":{"url":"https://github.com/webpack/webpack-serve/issues"},"_id":"webpack-serve@1.0.0-beta.1","_shasum":"284d72e98851a4213730e8f27381187252986eb5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"shasum":"284d72e98851a4213730e8f27381187252986eb5","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.0-beta.1.tgz","fileCount":9,"unpackedSize":22890,"integrity":"sha512-FHOa5B4/FDsqfeetgEq6qyXVvLvl6nD47wo8lm5iCdfoFH7KJsqThyHULfk55hzLeBJHvdnpwWzHb6dEeYjoew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxmmjFkLM7CRu+ot2YpiYQDCnEZFyMi3zty4/jk/wx9AiEAswCje81vy86SUlVLZRVqJdbsZ5UkfwwSVyVSiUVlKmY="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.0-beta.1_1518409732284_0.008311051900544042"},"_hasShrinkwrap":false},"0.1.0":{"name":"webpack-serve","version":"0.1.0","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-beta.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"gitHead":"f028e490df7144df44d138685afddf94625cd55d","bugs":{"url":"https://github.com/webpack/webpack-serve/issues"},"_id":"webpack-serve@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-2+A0GOybe0eXefc5MMoyXQMpzZnm/+WcFQhINBV62XUMNRM66wnmzw4Fcih7x81Zasfq4X2TDqJDMs36Qsh1DA==","shasum":"03cefbb92874b96bebd69f970437d16c64a4f01c","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.0.tgz","fileCount":9,"unpackedSize":23953,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaPmZoflMlKCIMhwbAmBudjHAt5p34MAN+GgUQs1SE4AiEA8N8upCWT3DC/vgYWWRJEF3sr7BleWamYO+K18x+GAPU="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.0_1519239147954_0.4659356972085169"},"_hasShrinkwrap":false},"0.1.1":{"name":"webpack-serve","version":"0.1.1","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-beta.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"gitHead":"101352e141712d055297291da8a0cec8e0cbb120","bugs":{"url":"https://github.com/webpack/webpack-serve/issues"},"_id":"webpack-serve@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-4s4o49+XGm7KuI8z+95WT3qlFTQ/adQsLwufxa+gaw9pThopTTb6eX0MORk0LdRREvvXljCBNh+InZL9cVA7Aw==","shasum":"73eaec945bc1ad5c823423669d1daf7faee57480","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.1.tgz","fileCount":9,"unpackedSize":23965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWRuFm3bF/Lt/KzoyMLz/SgH4Bu6RSiN90NBYW+Y/FmAiEA+WG+GqnJ+CqbrGuQYIWyjoFyjOMrwVcUM//tan+ocl4="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.1_1519239342019_0.09202982804090487"},"_hasShrinkwrap":false},"0.1.2":{"name":"webpack-serve","version":"0.1.2","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-beta.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"gitHead":"06642bece5e47f4e7f77396d9d5c34ccd840b8a9","bugs":{"url":"https://github.com/webpack/webpack-serve/issues"},"_id":"webpack-serve@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-McfqSYqdfwu5kjmCfCEUxe6NGHgrdeCmkkkLTm5SglWppnPv6W7MlUYL3JS+DsKA8D5BcaT6GMQmVxmyEGgeqw==","shasum":"59c478288526a8d26c98c39a4b11121229f988e9","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.2.tgz","fileCount":9,"unpackedSize":23973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2LN6yl1y+C9YipNhXoxrKFhjCq7OgCnqHjmAhyC4xzAIhAPzItNOoDoiIsZqQIsgofFHI58ZS6TydnzXirnBVUT7/"}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.2_1519307113611_0.5276019776211656"},"_hasShrinkwrap":false},"0.1.3":{"name":"webpack-serve","version":"0.1.3","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-beta.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"gitHead":"2b0b26e69041cd2ad8345b83afdef5c5a25c5f70","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-DoryHEduh2QphOo375Zt9LTBHLqOmf4NukB/S0GaX2K1kNde8TUuB8YoSpp0Ut9BZN5stkG1g8CiLf8QOXK43g==","shasum":"09c72e0a03cd67d772c92d3d1698ed5a8489f66f","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.3.tgz","fileCount":9,"unpackedSize":23981,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFExkSGH2D2v2LFaHyQngyYC7UU2RVrblvGYdABt9XfXAiAV5YPqfN3e5UJrxpXFg9sYzG1uIy74uo7hKvRJjuCWsQ=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.3_1519316743510_0.5338896787578302"},"_hasShrinkwrap":false},"0.1.4":{"name":"webpack-serve","version":"0.1.4","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^2.2.0 || ^3.0.0 || ^4.0.0-beta.2"},"dependencies":{"chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","@shellscape/koa-static":"^4.0.2","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^1.2.5","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^3.10.0"},"gitHead":"570784886400a2b5598c47dad59f83d755742f04","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.1.4","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-9Agf7Gbb+mfSZDg0oEUYEaMlt7hED6PK+HuUCEqUFCsl1IfnycIejiV2dvGTLWYn2HpOlk19NRf2MIWVpEhbSA==","shasum":"c4ce183fadeb5b0546b0aef08d4147678df31ee9","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.4.tgz","fileCount":9,"unpackedSize":24226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7RT072Xwt70LGMKdch4vYQNtcADgP2bUlppjtWxJMqgIgfFjx/NdDVbsTr69qxvW4hoZEVSbhPNyHrjv0mLVNOuQ="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.4_1519392377529_0.5645053202383477"},"_hasShrinkwrap":false},"0.1.5":{"name":"webpack-serve","version":"0.1.5","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^3.0.0 || ^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.2","chalk":"^2.3.0","clipboardy":"^1.2.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^2.0.3","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-cli":"^2.0.9","webpack-hot-client":"^1.3.0","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0"},"gitHead":"ac9a738881ce29b7e77069fb5733ae186527e7c1","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.1.5","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-ZuKGj6OlMqGE6SLXUd5IQc62R+JK2D5fNyOkNdjqggSkZn1tG6XhxF2es+cCMd3c/xF/i5mQ8XXUxAxP6t7flg==","shasum":"f0c671c0a00ae777d756ab5ed5c04ae929a6207d","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.1.5.tgz","fileCount":10,"unpackedSize":27479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoDs5WUPKFK857X/eCTONDu1JGkHVCtGD4NunzgP0D1wIgSNgnHW4gEEWl1qictyEuWtB9v4RiqqWIHlB9y0+UVd4="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.1.5_1519828982697_0.09250605226404418"},"_hasShrinkwrap":false},"0.2.0":{"name":"webpack-serve","version":"0.2.0","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.2","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^4.0.0","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.0","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^3.0.0","v8-compile-cache":"^1.1.0","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.9.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9"},"gitHead":"16f4806821fb0994126f920ff9238bba6ea12824","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-we3JI6K6RSbq14bE4NTPsbBagrmNNsE2dXVORcKJTmoyDGBrXS+IuJ/0MfikEYaLKDdVb5KWh3jF/w1/wMRB2A==","shasum":"3378c1b7fcf5766dd30ddae262b12c77bf98ac8c","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.2.0.tgz","fileCount":11,"unpackedSize":34078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRXVhXpmjUc/I/YxsFjxYs/0n172w33eXypaev28wKXAiAbi2OP0KrL2iHyd09PszyjOwrgA8DYhsfAitG7DbKPxw=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.2.0_1520365948729_0.8396763065746717"},"_hasShrinkwrap":false},"0.3.0":{"name":"webpack-serve","version":"0.3.0","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.2","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^4.0.0","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.1","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^1.1.0","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"5fce7a44442ef493c4e488f4e0a47eb091abf1ea","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-YixRdNtUNHGirc1fOJH8YfEUTVSLdeIMXJ5mFgFOLqGUL7lWaKn86NCO61qICECobsp9rxLW5vnF55evpFrjfw==","shasum":"4b948587a78af7541393ce1cedf4b3092ff4650c","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.3.0.tgz","fileCount":11,"unpackedSize":35180,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiPLP8Wvw74SvJTHUbM6dM0xDlMiAD45n8jgkKDjQfNAiEAl1/oUKJTHApFV0pMfxI2AmI2IwWxWhkfoBguqyvR700="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.3.0_1522196019597_0.17998940028344346"},"_hasShrinkwrap":false},"0.3.1":{"name":"webpack-serve","version":"0.3.1","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^4.0.0","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.1","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^2.2.0","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"27c42c79d30a8bc813ec576cbfff3d0a4771fbba","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.3.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-CqfXJIfDcmDrPXrwhTmXnHis+13Ywe6O2+rkU6p4tGDH8yljXwgESi7hTmYwMM8S2NZ17worPhWxhnDC1lqQgA==","shasum":"a91a99d013a70d2c15df2d12c5d31a8842c033ba","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.3.1.tgz","fileCount":11,"unpackedSize":36817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWyza+lYA+6NqEsF7w1VIPmB5TlVr3CWBdL0tJmXJDoAiB6wcRWIRI8K6iWT1EZRrtj9hntG9zLALtQvlJ6tE8frw=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.3.1_1522509218344_0.033082935563804705"},"_hasShrinkwrap":false},"0.3.2":{"name":"webpack-serve","version":"0.3.2","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^4.0.0","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.1","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^4.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^1.1.0","webpack-hot-client":"^2.2.0","webpack-log":"^1.1.2"},"devDependencies":{"codecov":"^3.0.0","eslint":"^4.5.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.8.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"8750cbb654a483bcaa6c9aca946de02f012e2407","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@0.3.2","_npmVersion":"5.8.0","_nodeVersion":"9.2.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-R6F62hsgAC0hwYiNvNsNzgzjS98Id2OxnY7k3x2LcFgzMNv0qZvwm8c3vBl2R5+NK7r0Zy2805838B9JjN+s+g==","shasum":"9cfd823dd570438d8cf362e70586bc54af1f0c92","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-0.3.2.tgz","fileCount":11,"unpackedSize":37004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5988CRA9TVsSAnZWagAAJWIP/R+8aNQGmtSi9RaEuvGe\nSOFuDljDcFHxa/EWmnPwv9EGBSgtHfChXa1TFZvMSzS+KNVEiWxmXmKcL2Da\neaDUOSMyNfDysYkz387YImjoduD9e0+jB/bcz86MzRs1eIsZDnh+M96W+iN3\nunuLhTbGzrnh9yYV3pkj1/XpRDqG/9xWXq+2P2+2Xgn0NNHJGkR6dWTrGa6p\nzmY6MOa4RjCJkg7n0YtUFEJjgG1WeXwMWHGB5Dw8HW1bSvEdx9wXOSQmLcQx\nhSr8sHX9AJTgEoDQ0o1h2Vke9u/aN/gVvPcsHeSmxbjl2NxKaLvgoxGo8Z5t\nnQ4TN1C0Y7dF/wzJ8alPtwQ7J9QrzPUq+KOeuR2y2H7O0jYTCvK1wKZx8uFb\ni/OPxvyT3J5oLqX9B4RbabSjowScrce26Vh0M/vo5BX10JThY0lXUCNhbH02\nwmhpV15ng9WiD0RlIZ+EcifLivRRUhCDFHCRtD24bvk9wsbRsOBRNghczC0C\nFuAf/PY4YFncZEj7M6QgcW/VTpyaxtgmU7fL+wuJhIPpXIwA7HzqKnU9tyQ7\nAGz/DyfuDv19OQWQ3QDJulp8AKm4caPBACIQPcWqYKTMp/P3ndHlH20apcBA\nFO+el2hXS53UiKisaq1hRZ7izwtP0jXtqsdfhdDEo//DsEwIACLG7zdC+ijw\nEQdh\r\n=0CL5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJws3REmObTe2TSukspeQxLprvyLWk/qzbQlCoqKXixAiEAknKtwzZZZ29yYDh8Vj6NZ8CsNnT/xGLkTn1fNH1grjU="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_0.3.2_1525145401752_0.8913198073516388"},"_hasShrinkwrap":false},"1.0.0":{"name":"webpack-serve","version":"1.0.0","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/config-loader":"^1.1.1","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.1","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^5.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^2.0.0","webpack-hot-client":"^3.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@webpack-contrib/eslint-config-webpack":"^2.0.4","codecov":"^3.0.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","prettier":"^1.12.1","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"e033db088c010c1363eb306e63968898314aa794","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-QFxAV9NEiOi06lH62+wBjI+pJR+zUWSmnTT5OsWnTKwwikRHdWQ+/QzdKyfLkq2YqPC8KbtrV76YCx2MsIa+vA==","shasum":"739e022c321d03894c6496a7b9f18189e69de4c3","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.0.tgz","fileCount":11,"unpackedSize":37976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa95bMCRA9TVsSAnZWagAAWJgP/j+Db3Um/pj26R6YKNyN\nOpkTy0c5YHsS8K1hepJAVJhxeoHJ6xriF4ZMl/Z+bxhXWbP7L9BIBIJvQs4Y\nVB00Hdih/hHdxhedsElE4aSezlB2aZ/kJ6zUB5vBRH3EeOI3we8OSuVw/5TF\n1oXSSMY/Cm6ipNv5OejOeWt0qTedVr7LiAFbM/XbihutqJ1lILFKkOTLrZWx\nPs3ffnSu9FQ+mKEVPxTGU/5ih298U4aQ07Ca2MyWqvXYcJdaHw7vGE8KPsCN\nQG8ESFgkWyb5JTwOGaIW0u/WmuUQleTvuZOpUX55FX8OFgJAhygSIetyJzRQ\nZpPdXdvXIaq/TaiqILixcvwnk6XuDBEjedxpAiHZp3jx91N/eYtHHk/oB7Ws\n6Oa1OzBsLqtuRtYQNH5ELmSD4qUME0DcR3/O6JO6p2yXfvyPS+87LHbR+TDc\ntLgFUr9ypB+FDgDP2gmZX1vrZQXobGXYeEVviaRzqYAKInQtSLT+3udy/5yx\nd8PDhy7Vf9qnE8JpCkPPhwMh64InP71ss0mLKE8N6ZHppPhzWx4UqIprJp3U\n0puFkF8mUHWqHNndvSG/y2RoEjZi5xEbWq90JScJWrzycvNsMuoTiwiI0ZQX\nd9GB6t3EF82YJrGa095NxCBuLJTvoObQCgTNEsGGsHK1rpSnMGMWjxBlL8AD\nQafa\r\n=2O4y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYTz4qeTemcH/cuEsuQiHXz8+m1IZTZ/SAVzuFYzp4DAIhAPcspNRO843XnxyWdz4gyZzHyorPDG6hVdSOgRuNIOgk"}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.0_1526175434431_0.1763881097571125"},"_hasShrinkwrap":false},"1.0.1":{"name":"webpack-serve","version":"1.0.1","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/config-loader":"^1.1.1","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^3.0.1","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^5.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^2.0.0","webpack-hot-client":"^3.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@webpack-contrib/eslint-config-webpack":"^2.0.4","codecov":"^3.0.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","prettier":"^1.12.1","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"50a2a81fa7e884d099d6aca16d6b85c56b83feff","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-uNVgr8xBi0Q2UBkGNZkQRKHk0+5IvHv4HrVPFjq//QpZB52uZKCryI17R/lQ6VabhYzeeJEgmVIJ8Prj6pQ3gQ==","shasum":"8fe5890c8e2afdad800761b06a77bfd891fefaf7","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.1.tgz","fileCount":11,"unpackedSize":38029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa95k1CRA9TVsSAnZWagAAZrYP/0Z2axK5iQByCBxIRptW\njfjid3tE1IxCSsWpGf690pThjWxusSq7EaNS8gGeC4Z4RSrn7tEyR7HzUYdq\nqYS9IXbpteW2bzuORLU6T9Q75bk2kYSYyOeEn6m3S5PkueR5gZCnqP0rH2zE\n7YJB9+6lqRLWNm4NSWjCWQdn3j9q9FqYusLfRingojia+IgVCbWNHyua8AQQ\nLKU5/y1umcEE0pKcIHOA+MHDX27lbpSAhWIzlA5d/qim/DVGW2/eEAt77RHJ\nVMhHE2tD+JiMrsaGe5a26+7kChxykF10jUoagh1l3Ygd45150/FyKLFcj2rV\nqO/rYqJ7vG88c2YD70kIW4BkoC5u4T8wd0p/fG8LtlgP7FG0MIMyxUhVDA9K\nN0dvxx1c3/gJ9BgB1GLOJPqDpzUCH2AtUAfUk8ZjPW5uvdja2BTFOHokEPe6\nPm6bsBYAy2CH2ZJJgfiGAXCKq1AE0P49Y3ASz5BtdU121fNpaRTz9A1lWHn8\n6S9nzbSj2ZaFTPJMQ0/Nfec60cYg3bd90mfSder5tKLLeFK7bnhuCBdLRzZQ\n9lhBtF4ZWfsCPhaJCzcXKjq26LAJapBPyHwO6VvXEPCc5HuPQNh4C2xKLtJM\ngQTQ/zdPLFTW/V7Q2GMerGIWYkVgNLxu2oR1GM1FlFHgR/2AuaPukKeQNnwf\npCv0\r\n=S64S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2/chVd++yR5D7cjSrrQkvsYUyDipgGo0i4wykeKfsNAiAjlpgINPaEWevTI+30oSuw8LDWDGsxkAWs5S19yr5Y1A=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.1_1526176051793_0.11738140751049819"},"_hasShrinkwrap":false},"1.0.2":{"name":"webpack-serve","version":"1.0.2","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/config-loader":"^1.1.1","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^4.0.0","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^5.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^2.0.0","webpack-hot-client":"^3.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@webpack-contrib/eslint-config-webpack":"^2.0.4","codecov":"^3.0.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","prettier":"^1.12.1","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"5c32c1edfb4db4056c973a9ce75f0a1b1b71b323","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-rEymS6lQ+FKv1WWlgxU9ZUMTvNUA6xXSeWEs//CsJjwQ3VnO4NQvZJKn/C72FjdLOJhwlrCKoOJsiml4Jrf/tA==","shasum":"cd7f040cac63300e8fff79f1d45aa2f3e5825492","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.2.tgz","fileCount":11,"unpackedSize":38029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+CbHCRA9TVsSAnZWagAAOlYP/2STgHJmIhy1oRmPGV0U\nyh27EWZlHMdlrEBYX2I6pBNgbqRuG/hY5atFXVaPnNyUoo0azzaxjt3AwbwK\nPuDgdZMhU22yaqIHksOeK60RitbaoeYJqpAfnzdAfnsKYTIovWcG0SnOGEUU\nPtXH/3E2EKnAEuYcs+WjFGazSkFM0IvkOWyb/uxdLlcJqRNDv8WnlJmmxFcS\nw6HIBiIcisUTAZJWH+rSoSYozSkv5sL0sPf7J1cJyCPxYZxX8NR8bDM5aAGn\njCxiZYRewoaRkPtOSlHwpvKS58+MQ/MpGDtBEqNfLKvwBAbLKUYcDtUPc6nS\n20P3hbvz8TfY4wTzjZYuhais4/dXI5+hk+s038bIasMUKx1596L39OJmYtfR\nD7ctsrA5/v83L3alvaFAksJml9jaS+cr8oGhtrfGvgve6319RDSLIFuSZcyH\ntKqJMhbH9+hQfi5ZDDBtKzEjj2zYrlJSdNLz6gar3G4eA91Gx8JpKTEiMifL\nuknlt44l5ryb/ZPoVJQ1djmgQJ+s9mEEDZMdk+r6ZKKfuXt28MilJrgTQUMV\nLCS0k7F2/zJkHmU4oNOxCy6gdmQ3ubBrUtkbLG1/qmpUiNxb8EZRA6FjTKfR\nxMwZlqXD8bL8TRodXkiNQBP161AF391/koT0NTBwrOvindFCZqT5sJYB/nrS\nLHfW\r\n=xTEx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDo2wArlafivb4K1FW6tAO/ci5hJY2JYRI26qNT8IWzeAIhAMxze/xc/VZ2yoQqV9P61rNpkSGmsBpeX4BJmjs9cNSZ"}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.2_1526212294335_0.9681808273941281"},"_hasShrinkwrap":false},"1.0.3":{"name":"webpack-serve","version":"1.0.3","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/config-loader":"^1.1.1","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^4.0.0","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^5.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^2.0.0","webpack-hot-client":"^3.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@webpack-contrib/eslint-config-webpack":"^2.0.4","codecov":"^3.0.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","prettier":"^1.12.1","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"45ececd74b1bdc4ebf1dfff02f0e4765050cb44c","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-AALSkRq8vJ+2TIsbPV/qdZ0IT9WfCoJ4e+sbygBQWN2f5q4nT0EtXwjBVyZbtkHEB2FjpstDe7/VofxmA+WoiA==","shasum":"47f4c10efcae49797771e1a4008623c158d66d77","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.3.tgz","fileCount":11,"unpackedSize":39023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGJ6iCRA9TVsSAnZWagAAKtgQAKAji0COLjlWEnbsli8C\nV7XN5oJh5lQkh8JEAJ84c0e3qDYFg1WT7pEAsaFqY1MlEeQ7g/hRPTUH42mf\npWLP3v3TjOSQdyGLKu4YpbxFpu1WbD+bXWq/Vvwqc+sVhwN50nPn/iXHOvbT\nrcWfWmoL10jpZIQQK/nMoynKHgRn0SpZ6vpxN35Qs+L2pFkmC9WDEglRYz86\ngvx+ovR+FRz6xNLXgnnDCHVI8xNqD4oEVfGeMGARdLzPD0dx5TUR9GqMYI2G\nsshJ7T/Hs/C62qEf3kdonvfZAZadjZ6XO/2OYSX24DwK6IQ9GNO4237582+s\n9L3Vb2immBvwwEefXJ8Kp6cDmpv5Hra9xs90PMkYNg19NhDZO0C65dDhpbHT\n/+dI7Oa1J/O6C+Ucu3VH0IQuT+jc4RStY8FWa0uVkfiD1f0gIMOvlq+26MjX\nLiaKyjBrQLuR9lEn/an6/ATEwdMWQQnoOWp/YMiWrKsyF7LrYBI8e7DSqE0J\nl8993/rwTWN9UW8p2xptLeNX9XJ7WDfJkig/yz2b51m2feQcwOetwJ/Se4DM\nuIsuYreioJOZACBp8X6H6qkJ5ki6R1IfBOcEmdCYTjb1hRPtA/QoJiRwLV5L\n1KCzzo0WpQakEEnARztlI8la23HIqKX0sQu2V6mBJZ5xUMjsU08QLmb7GmyU\n4CbL\r\n=Ys8P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpOzvsRt4Lo/oZbV/b89I2mun8YAMvtV6we5mcOgffMAiEAw/yoPWt6JooRoDf2WYD6K07k0H2ONJtunT7J1xehb5w="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.3_1528340128851_0.1891498303797201"},"_hasShrinkwrap":false},"1.0.4":{"name":"webpack-serve","version":"1.0.4","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","main":"index.js","bin":{"webpack-serve":"cli.js"},"engines":{"node":">=6"},"scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"files":["lib/","cli.js","index.js"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/config-loader":"^1.1.1","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","find-up":"^2.1.0","get-port":"^3.2.0","import-local":"^1.0.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^4.0.0","lodash":"^4.17.5","loud-rejection":"^1.6.0","meow":"^5.0.0","nanobus":"^4.3.1","opn":"^5.1.0","resolve":"^1.6.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"3.0.0","v8-compile-cache":"^2.0.0","webpack-hot-client":"^3.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@webpack-contrib/eslint-config-webpack":"^2.0.4","codecov":"^3.0.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","intelli-espower-loader":"^1.0.1","istanbul":"^0.4.5","mocha":"^5.0.0","mocha-chrome":"^1.0.3","mock-require":"^3.0.1","node-fetch":"^2.0.0","nyc":"^11.4.1","power-assert":"^1.4.4","prettier":"^1.12.1","sinon":"^4.2.2","strip-ansi":"^4.0.0","webpack":"^4.0.0","webpack-cli":"^2.0.9","ws":"^5.0.0"},"gitHead":"012ab602a1a745ee0570fe471324bfb50a84f3da","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"_id":"webpack-serve@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-WhI9PMY2YLFliZhDsQFE5Os/On5Py6DGZpeBJyDM8xl0cspxgvXmWFywACn2YWWDgowqIxRqveyGh2RwdFWTNQ==","shasum":"d1c83955926969ba195e5032f978da92ef07829c","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.4.tgz","fileCount":11,"unpackedSize":39199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGch6CRA9TVsSAnZWagAAr2oQAIAHn8T8TPXNCdV86EcV\nmWSSfOKgeDLoC7AmOa8jWuDOuEvzr/iD4nzCRHz81ouz73D66Kyq2k/MDXtM\nPVQrQSYKj/7HMuoZGXBjmTNUZ9BmgyL+ir5AunJrXtzsGXVh1RgIUu2FHt62\n2g4Zc2jYavE2sO4ABMWNIsLMCbV1bYOMeZlJezCyZ+7SO4YbbdBp5Oy595Xq\nGRR85GPrYwfYMUmFIAcMOm0AYvjN8aDUPbs8Mv13RshwH3jUYlpuWZKN5lrj\nF/EkpAgDLZHM0dO8Q7VqdGLdEZOuAYB7PEFsZozYYG2aQrneEDqHZsP3SheE\n6oF2E58JPeBq4c+8I3GjN3LXdgKLn6RkurBg33RBbAWinOH7jpG2pIeqhrz/\nidp3YvhhoTAEuR8ToMBWryAS6fPmzQhzyecLL36Zk4DAAM6Pc/Au1E7k6+U2\nf/iqYUlcoV3w9+9OL6p7rUm0Ll8XkWjvpozauK8HSNLeWq6+9kC5B1T0VSRF\nDi7J5ZQFy5dVq94ELsGHpKu3ufjnb5F1xaquZRKvusp4D5gNRloh7ZrgNdzB\nhylqR2ZA/V9BdoeG9E+yZkSKlL/CN4aAz8sc9nYX4KCOY0D1ZOaklkX0S97S\nbZ7ABntJeK27X+IkMG8vi1I3QMGjfpuqKdGJ3XS3zpIImVVGQ7QEeEAyoBDf\n6QgE\r\n=zjpb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICa/C9+ED4o6uVXJIEHbf4EJFZR50+QlYN73Yr6Fgl1MAiAF7Mq51LIMIgogKmZA3OOSjboUWhtzrZL30CD4wF4g2g=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_1.0.4_1528416377683_0.12617742578206714"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"webpack-serve","version":"2.0.0-beta.1","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test:coverage -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.0.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served.\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\nArguments:  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nDisplays build progress in the client during complilation.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve","readmeFilename":"README.md","gitHead":"6428904d99938c18955a8bbbc344e892ea4ae300","_id":"webpack-serve@2.0.0-beta.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-xd9XSvU9X4JQ4a2sZ9EGVn98t6wgoRO4kFWJv1Qe6NXIUEgsTbJlzlGcarI+Rgtf7J49d9a76KRfv1ba2Dyzqg==","shasum":"f5d8420294ec8619764b1e9c329bbad49ea4e62d","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.1.tgz","fileCount":20,"unpackedSize":44753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK/UlCRA9TVsSAnZWagAA7BMP/A+DEUaIfSA14DUY4Iml\nxNKu3YR4bcVcZiNpI7y8/1eWzPu8KVZOXeIBFDrlIe7oh+XZDCgdhxBd2ANO\nwvQY6okGpGMEb3at48xhqRXOGnQfIWmbUeCmF7cEUQltn1z1x2TiWARg+3L/\nTjqv52rRWd8my23/VFGBUnoL9Cc6R6+nGGxf4jOGtgO2SN2fi5lSdNtliVgK\nk3S17eSLrrorh/S9jHllfe5W110FWeNLcgItZA14ynWjHN+IxRnCoIAmZUSW\nzSIAzhkNc8m3jvj08GXuXSLRmXPkrdzp90dZD1hP14iVUfMOF3vkG0UG94sx\n2ZtyaoBEUmjZK9WI5G08ORdnGzW5qLv+Do7N3VaRnpxTU9XPVqBzC6EbMdGD\ntUgJfxToFXoOxvwlCO12R4M3h87QqYAKfMv33x5CMwmMGdPSCUbIcu4ukolm\nLkTkbCGt/KM3ngftE9RTeDAo8u0KwibN5qJsMv/OhSEd2SvQcYAdZUurGEmF\nLGU7ysGJJHoRh2z3Sxwi2OzX4FBxUZ7tcTMJu3pByyE6vmK32r+20qthug4T\nIwSWSSul+/0FI/kitzonAGUcmo+ikfJ0N+eS7YoQ5n+R5fcmH/P4eaZJ8ESw\nh4UxAKZk2r2kgpm2rf8Zo8uQjBbTpT78XLxI0XLh1CoYZBlF6yvGV429tmCC\npJ1n\r\n=sMrm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKGg9DZSx3+lXh6H2WFzwLQQZPFaT7xhXGqTBLBDu+aAiAW7YCOvb2HYXoCrpgLOUyNkNKFsmZGAPIBPCP36OaIAg=="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.1_1529607461656_0.43492468453577704"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"webpack-serve","version":"2.0.0-beta.2","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test:coverage -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.0.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node.js v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served.\n\n_Note: By default the files generated by webpack take precedence\nover static files served from `content` paths._\n \nTo instruct the server to give static files precedence, use the `add`\noption, and call `middleware.content()` before `middleware.webpack()`:\n\n```js\nadd: (app, middleware, options) => {\n  middleware.content();\n  middleware.webpack();\n};\n```\n \n Read more about the add option in [Add-On Features](#add-on-features).\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\nArguments:  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nDisplays build progress in the client during complilation.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve\n","readmeFilename":"README.md","gitHead":"fb4e5c39d2530823a3933f3c7994a1a8feb5264b","_id":"webpack-serve@2.0.0-beta.2","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-ttCKkp/YA01kbPixrzAqGOyj5GXgogyRQiXfz/oykv50lKBfJddeS4mL1nuxOnk2MkXfuu5uPkutn6QKzIzLkQ==","shasum":"7640d4959e16de6794f516bb77f94bf0ad5c8f7b","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.2.tgz","fileCount":20,"unpackedSize":45373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMjc2CRA9TVsSAnZWagAA3AgP/RclDFHqidbE6RssJ3Sh\ncNVuhElF6P31+Do49CUoQlg+3WN/5l37xxilHf4/Ek2ftbPz415sj/PeMdAT\nTzD5MvYfwV+FK9YfW6hILgNmSSP7htPgTVMyjTUNSWadkPH7+AkcXHe+YiyD\nrLqe+cant+X76H0uupvXC4rKJnAfKexKalG1IV4yqrvvomQHLaZaaiggYKnH\nQDo8IP1m15dfZLaVaVnftKYkb0rT2wRC8B3nh0zArVcN/tpDncrDmkQyHL94\nCXiebETSRB7Fqz3vnCNAQ5NkMikW5JwPlswVYQuN6a3+wK7IHffqgzVL2KMA\nlpajrCF5k1zv77Q3hdrTpdzqdGMQlUsd1PnfOXpjndvRbM9Ba6w7b+IV6Jfb\ngSX8JTW0gdh7YBOZc+PTecP+QxKuTNo//uQtA7J50DG/P+tQI1zR8XwRXxzM\nfq+jWXRpJmZXbgGTJPMfWB1d0GqIf32MTONoJMteQagTU953pHRQcLl5pxxl\ndfaUfzK6EfELaP7FncA0Ag29e/oqZsNqZ4JSKiv0KR5OHKP2ycNTMhSSPzRW\nv4seKESKTzPwoaFJzx6ZkcwaXrdNA+fxo4mjoYXjwf69PrCoWDYyuorwGSoV\nb79qERqjbIcT+HHNH3sB8F9uNlWPLtRsB8w3G4Pl0FGndKEG1m/FvOmwPQf5\nZE6U\r\n=HrFi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvdpVhBcqYmm76NSgCbvSoNUOqAf/tKiIS4ScCZg3+BwIgZztvkASdTE25/ZcQjtkGOsKwy2f5AzHkh7wOWwmSClY="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.2_1530017590044_0.8818523882415961"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"webpack-serve","version":"2.0.0-beta.3","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test:coverage -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.0.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node.js v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served.\n\n_Note: By default the files generated by webpack take precedence\nover static files served from `content` paths._\n \nTo instruct the server to give static files precedence, use the `add`\noption, and call `middleware.content()` before `middleware.webpack()`:\n\n```js\nadd: (app, middleware, options) => {\n  middleware.content();\n  middleware.webpack();\n};\n```\n \n Read more about the add option in [Add-On Features](#add-on-features).\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\nArguments:  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n  [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n  [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nDisplays build progress in the client during complilation.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve\n","readmeFilename":"README.md","gitHead":"5a6e2c83ecb350d4eed59320507fb918ddc0f85e","_id":"webpack-serve@2.0.0-beta.3","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-p+tw2RaXBTyr8eiAX6V8fknLEZReN1XgmyP0akSiTkV6UkGUWoj/NOuQyF0iXdStc/NWBSvNVWpUOAjurJjznA==","shasum":"298c93eb68d47cc5ba4263e22759948fdcc2c178","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.3.tgz","fileCount":20,"unpackedSize":45549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMrbmCRA9TVsSAnZWagAAVdIP/0Y3Fzcft/OEnk0eOoJd\nDbx8SnifBT/g0Nl0Bb5fnjG6xGGNAsBEX06B5eSvda9bCCuVR7FV8+3SPf1X\nl35adz642Mzxa5myTrP1uYy61QR0EwmLgbVeP9MWmp6MThyzZxa1Ody4KlgJ\nOU21HJEwkY2Mdsk6OXPYTZS0JQTQNr9IpdlqAd7bCwMfCiPYlQyjXK7RI7hS\nh7DbXM+ptY9SwZsVIARtJtAqbAR7iVwXu2AyjUQXLj4V2F0yFdmUeyraNB7K\n5tuK2iLByZmrelzVUFQiSzS4SWGDAMlyx4nJb5qQYAVyTA9d1duYkn5Fa8pX\numuzmM+pnkpZoDBZ5uui8FJ2rsUzVxfxXDKsI8toLgRKyvUyRvKW0kYeH36T\nrB/v4Ty30wDzb/SLX6sFWbIwswDq6LM4R9n7FZT6Ung+FY09S3DYst+6t/mX\nA74delTgBuwusu3caZlKPA5racvVc9K0ZQmapXtkebXDiTTCyZnYZ4iRHL4Y\nB4KMbwPart3RnhZObSvy5sOPwGZaZImMk4kCze+AhEpoWDlM7UIxi367lrh3\nV9MEsW2/C2F5bYxskkQoKTeCgtCrbfsNN4tu0063eQVU5xx2wmtGl4e4hr4H\nN3XWkt6sXfuMX6kfKq4BeWaOMWlDJq+RP31nL95/Z6J9B0sZX8te4PLdeWFO\n4nwW\r\n=1zH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/pj3CqIPONCD1tSQJxFckEDwr4haSxACzkUfQGr8NPQIhALffSCy1Aw7NEizGIaTtvkV4lOW/UDEPw5rgPR35RTxy"}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.3_1530050278553_0.2523672859794057"},"_hasShrinkwrap":false},"2.0.0-beta.4":{"name":"webpack-serve","version":"2.0.0-beta.4","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test:coverage -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.0.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node.js v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served.\n\n_Note: By default the files generated by webpack take precedence\nover static files served from `content` paths._\n \nTo instruct the server to give static files precedence, use the `add`\noption, and call `middleware.content()` before `middleware.webpack()`:\n\n```js\nadd: (app, middleware, options) => {\n  middleware.content();\n  middleware.webpack();\n};\n```\n \n Read more about the add option in [Add-On Features](#add-on-features).\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\n<!-- spaces before Arguments are a unicode em-space \" \" -->\n\nArguments:  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n#### listening\n\nArguments:  \n [`net.Server`](https://nodejs.org/api/net.html#net_class_net_server)  \n `Object` options\n\nEmitted when the server begins listening for connections.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nDisplays build progress in the client during complilation.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve","readmeFilename":"README.md","gitHead":"75532171ecc35180c0df4b1c1294d9c6d9be8d72","_id":"webpack-serve@2.0.0-beta.4","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-rkHQ6yXCkQtTyAkbP2omArpWJjs6wbl9n/boEZE1SbGt15GbNmZl9eF8qrnsoKFYhnkVejmsy8Q8IREAeGBz/Q==","shasum":"98759f80fec807316ff698974e3fd5d519803e81","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.4.tgz","fileCount":20,"unpackedSize":46206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNOwLCRA9TVsSAnZWagAAil8P/22vPKnY5iZFZmuBPDJb\nfrNv/xmTPuVlQZlw3+7pMz2hh88Rzu5ZelX26KIpStLnbQizMSxree0CVIjC\nZUV+s4LuzhpWxIwBAs0WzlBiT20PftNq77nz90Zx9FTmAV345EYbXVeYyq7v\nfJY15+mCM0tNuPPec3XsYfbOh2xr2yjNIe1lV4kOYj1vtWsem/GWYFmbFyRF\nOsvs+RZaergOCrgKXbHPx+da0/c+qbOw+2TiD1OtrV8JOvsAskElBmHR3tQE\nCHfkxTTGERbqKkFilveL/LSJtGloBNfB3pMaCShiqRggbtBaMZxjRO/Y0p8X\nNmNX6mGjki+8AO72JvJPhCBuadsugaMOASogQXRgxPyF4bl8kcfCrFynpQl2\nm6Hjr0uIQODJ54tZgrjmBXx7AJ+rXcuTJKWiohURaI3u17a/cjdeeWGAGjgv\ntJ+i5IefW/WBVMUze1WygduRgFJ9dy74dQX30bSPbc3JLrsImbTkzX+tXDYl\n0Js7iqK0jRMKYmVzSFiyNa0YHaRU6KFASiWCmACdoICgN0pQpfuUcb5T+QF1\nfiqMci9uZQw5bV4lDmNfh6fexPtN4rFAttVl3s7p5ZQNKNyrOD3IOKa+QW9H\nc7tHmwGNCsOskfDR4P1J4LWD/WaUYP3Nd4mcRRG4aUzrAuQj1rJCHl4OG4+L\nQlD+\r\n=Xxtw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV/ls5llndtGMIKjHjAiVJCG8dppAro/6rFKtsp4/0hwIgHS8SJA6kfFmGgW5uLJOG75GZ7KmOs1GC2xSVkqafY40="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.4_1530194955259_0.4211416189751285"},"_hasShrinkwrap":false},"2.0.0-beta.5":{"name":"webpack-serve","version":"2.0.0-beta.5","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test:coverage -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0-beta.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"8ef14dd26c6851163b1fe0dcee224119063a8668","readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node.js v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served. Paths specified\nhere should be absolute, or fully-qualified and resolvable by the filesystem.\n\n_Note: By default the files generated by webpack take precedence\nover static files served from `content` paths._\n \nTo instruct the server to give static files precedence, use the `add`\noption, and call `middleware.content()` before `middleware.webpack()`:\n\n```js\nadd: (app, middleware, options) => {\n  middleware.content();\n  middleware.webpack();\n};\n```\n \n Read more about the add option in [Add-On Features](#add-on-features).\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\n<!-- spaces before Arguments are a unicode em-space \" \" -->\n\nArguments:  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n#### listening\n\nArguments:  \n [`net.Server`](https://nodejs.org/api/net.html#net_class_net_server)  \n `Object` options\n\nEmitted when the server begins listening for connections.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nProvides build progress in the client during complilation.\n- [webpack-serve-overlay](https://github.com/G-Rath/webpack-serve-overlay):\nProvides an error and warning information overlay in the client.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve","readmeFilename":"README.md","_id":"webpack-serve@2.0.0-beta.5","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-aISVL1qBB847i/BYldNzEbhK3NcluGU0LBSRIEEwJV99MfRYRpn/WL96pgOL0YuG2wIjap2nHK/JSIoeZ+g4EA==","shasum":"867b25a0071f49d14c63fe210b458c2cdc8a1769","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.5.tgz","fileCount":20,"unpackedSize":46658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPscvCRA9TVsSAnZWagAAbFEP/3AhHeqKl16mnQFFm0e1\nm73h/2TynPyMJL0BFWiUKUkPT9xC7TryDow2gI7/dVFfFlsOh6mavRTvERhz\nplLGAsc7Y/VynoVBPtGtPRgdKDsjXfHfFd8IjrY/EcuP4SpCP8N83qtejrjD\nx8Imel3qLrJ/LQexA/tN6J38W3X2J+GwfwIs6m7p/eLZh6wXuHl9Is1j6aNh\nK8Jx5qWKDD2d56tbFxyOLa8FFfe4dPiFOuhMvqKF7E7SvKHKvFGH1hMvg/dL\nVucZ13sRtbP1jKvWtpKsTz7zTZo12gezSoOnZCZKIfw2BwXZaj/59HWjicn6\nhesagc0CtvnnFxEOlHBkQ06Gx3l4u/rfbN+QrOdjL69r5a9auqg5u8IEqnRA\nC9bF+xZmJujUYSKZF4sJIi0qwPv9MXnXB3A6/hrI+D/0zKIdgMHD7XXgS0oM\nonv7v8MJKqqMdj1Nb2rhRij8IR2HbeDx/YQOlfKE9+VMVtEJ9lEM3DlBPWzH\n8wuZlWK/h8bLZYZf7zrOI+e58xjuzY271Elj5ngJM4O2psQ611dN8+inhQ2R\nWTCdilkufVIMOMkbLX3KWVC+Y24jhif/8mEQg5R0m2byixeW+tfUwZSTsaMp\n8I7hdU8SDYJwzUFoJw2fJm9vMixhBfTOeo7mWOrvw/xa3B6R8+tT4rJxcKA6\nbNYX\r\n=Ke5t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfmF1HgFiUF3IMV2mXgM+wyc4qYYnkb/0jj9Dm5e8pkAIhAOoS/zvO3x6b6bGEN1d1GlHIWckaBhrv9T/DzXJM5Pgz"}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.5_1530840879457_0.16290218455737548"},"_hasShrinkwrap":false},"2.0.0-beta.6":{"name":"webpack-serve","version":"2.0.0-beta.6","publishConfig":{"tag":"beta"},"description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0-beta.1","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA lean, modern, and flexible webpack development server\n\n## Requirements\n\nThis module requires a minimum of Node.js v6.9.0 and Webpack v4.0.0.\n\n## Browser Support\n\nBecause this module leverages _native_ `WebSockets` via `webpack-hot-client`,\nthe browser support for this module is limited to only those browsers which\nsupport native `WebSocket`. That typically means the last two major versions\nof a particular browser. You may view a table of\n[compatible browsers here](https://caniuse.com/#feat=websockets).\n\n_Note: We won't be accepting requests for changes to this facet of the module._\n\n## Getting Started\n\nTo begin, you'll need to install `webpack-serve`:\n\n```console\n$ npm install webpack-serve --save-dev\n```\n\n## CLI\n\n```console\n$ webpack-serve --help\n\nA lean, modern, and flexible webpack development server\n\nUsage\n  $ webpack-serve <config> [...options]\n\nOptions\n  --clipboard      Specify whether or not the server should copy the server URI to the clipboard (default: true)\n  --config         The webpack config to serve. Alias for <config>\n  --content        The path from which static content will be served (default: process.cwd)\n  --dev-ware       Set options for webpack-dev-middleware. e.g. --dev.publicPath /\n  --help           Show usage information and the options listed here.\n  --host           The host the app should bind to\n  --hot-client     Set options for webpack-hot-client. e.g. --hot-client.host localhost\n                   Use --no-hot-client to disable webpack-hot-client\n  --http2          Instruct the server to use HTTP2\n  --https-cert     Specify a filesystem path of an SSL certificate. Must be paired with a key\n  --https-key      Specify a filesystem path of an SSL key. Must be paired with a cert\n  --https-pass     Specify a passphrase to enable https. Must be paired with a pfx file\n  --https-pfx      Specify a filesystem path of an SSL pfx file. Must be paired with a passphrase\n  --log-level      Limit all process console messages to a specific level and above\n                   Levels: trace, debug, info, warn, error, silent\n  --log-time       Instruct the logger for webpack-serve and dependencies to display a timestamp\n  --hmr            Specify whether or not the client should apply Hot Module Replacement patches (default: true)\n  --reload         Specify whether or not the middleware should reload the page for build errors (default: true)\n  --open           Instruct the app to open in the default browser\n  --open-app       The name of the app to open the app within, or an array\n                   containing the app name and arguments for the app\n  --open-path      The path with the app a browser should open to\n  --port           The port the app should listen on. Default: 8080\n  --require, -r    Preload one or more modules before loading the webpack configuration\n  --version        Display the webpack-command version\n\nNote: Any boolean flag can be prefixed with 'no-' instead of specifying a value.\ne.g. --no-reload rather than --reload=false\n\nExamples\n  $ webpack-serve ./webpack.config.js --no-reload\n  $ webpack-serve --config ./webpack.config.js --port 1337\n  $ webpack-serve # config can be omitted for webpack v4+ only\n```\n\n_Note: The CLI will use your local install of webpack-serve when available,\neven when run globally._\n\n### Running the CLI\n\nThere are a few variations for using the base CLI command, and starting\n`webpack-serve`:\n\n```console\n  $ webpack-serve ./webpack.config.js\n  $ webpack-serve --config ./webpack.config.js\n```\n\nThose two commands are synonymous. Both instruct `webpack-serve` to load the\nconfig from the specified path. We left the flag in there because some folks\nlike to be verbose, so why not.\n\n```console\n  $ webpack-serve\n```\n\nYou may also instruct `webpack-serve` to kick off a webpack build without\nspecifying a config. This will apply the zero-config defaults within webpack,\nand your project must conform to that for a successful build to happen.\n\n## `webpack-serve` Config\n\nYou can store and define configuration / options for `webpack-serve` in a number\nof different ways. This module leverages\n[cosmiconfig](https://github.com/davidtheclark/cosmiconfig), which allows you to\ndefine `webpack-serve` options in the following ways:\n\n- in your package.json file in a `serve` property\n- in a `.serverc` or `.serverc.json` file, in either JSON or YML.\n- in a `serve.config.js` file which exports a CommonJS module (just like webpack).\n\nIt's most common to keep `serve` options in your `webpack.config.js` (see below),\nhowever, you can utilize any of the options above _in tandem_ with\n`webpack.config.js`, and the options from the two sources will be merged. This\ncan be useful for setups with multiple configs that share common options for\n`webpack-serve`, but require subtle differences.\n\n### Webpack Config `serve` Property\n\n`webpack-serve` supports the `serve` property in your webpack config file, which\nmay contain any of the supported [options](#options).\n\n### Setting the Config `mode`\n\nShould you find that the `mode` property of your webpack config file needs to be\nset dynamically the following pattern can be used:\n\n```json\n  mode: process.env.WEBPACK_SERVE ? 'development' : 'production',\n```\n\n## API\n\nWhen using the API directly, the main entry point  is the `serve` function, which\nis the default export of the module.\n\n```js\nconst serve = require('webpack-serve');\nconst argv = {};\nconst config = require('./webpack.config.js');\n\nserve(argv, { config }).then((result) => {\n  // ...\n});\n```\n\n## `serve(argv, options)`\n\nReturns: `Promise`  \nResolves: `<Object> result`\n\n### `result.app`\n\nType: `Koa`\n\nAn instance of a `Koa` application, extended with a `server` property, and\n`stop` method, which is used to programatically stop the server.\n\n### `result.on`\n\nType: `Function`\n\nA function which binds a serve event-name to a function. See [Events](#events).\n\n### `result.options`\n\nType: `Object`\n\nAccess to a frozen copy of the internal `options` object used by the module.\n\n### `argv`\n\nType: `Object`  \n_Required_\n\nAn object containing the parsed result from either\n[`minimist`](https://github.com/substack/minimist) or\n[`yargs-parser`](https://github.com/yargs/yargs-parser).\n\n### `options`\n\nType: `Object`  \n_Required_\n\nAn object specifying options used to configure the server.\n\n### `options.add`\n\nPlease see [Add-On Features](#add-on-features).\n\n### `options.compiler`\n\nType: `webpack`  \nDefault: `null`\n\nAn instance of a `webpack` compiler. A passed compiler's config will take\nprecedence over `config` passed in options.\n\n_Note: Any `serve` configuration must be removed from the webpack config used\nto create the compiler instance, before you attempt to create it, as it's not\na valid webpack config property._\n\n### `options.config`\n\nType: `Object`  \nDefault: `{}`\n\nAn object containing the configuration for creating a new `webpack` compiler\ninstance.\n\n### `options.content`\n\nType: `String|[String]`  \nDefault: `process.cwd()`\n\nThe path, or array of paths, from which content will be served. Paths specified\nhere should be absolute, or fully-qualified and resolvable by the filesystem.\n\n_Note: By default the files generated by webpack take precedence\nover static files served from `content` paths._\n \nTo instruct the server to give static files precedence, use the `add`\noption, and call `middleware.content()` before `middleware.webpack()`:\n\n```js\nadd: (app, middleware, options) => {\n  middleware.content();\n  middleware.webpack();\n};\n```\n \n Read more about the add option in [Add-On Features](#add-on-features).\n\n<!-- intentionally out of alphabetic order -->\n### `options.clipboard`\n\nType: `Boolean`  \nDefault: `true`\n\nIf true, the server will copy the server URI to the clipboard when the server is\nstarted.\n\n### `options.devMiddleware`\n\nType: `Object`  \nDefault: `{ publicPath: '/' }`\n\nAn object containing options for [webpack-dev-middleware][dev-ware].\n\n### `options.host`\n\nType: `String`  \nDefault: `'localhost'`\n\nSets the host that the server will listen on. eg. `'10.10.10.1'`\n\n_Note: This value must match any value specified for `hot.host` or\n`hot.host.server`, otherwise `webpack-serve` will throw an error. This\nrequirement ensures that the `koa` server and `WebSocket` server play nice\ntogether._\n\n### `options.hotClient`\n\nType: `Object|Boolean`  \nDefault: `{}`\n\nAn object containing options for [webpack-hot-client][webpack-hot-client].\nSetting this to `false` will completely disable `webpack-hot-client`\nand all automatic Hot Module Replacement functionality.\n\n### `options.http2`\n\nType: `Boolean`  \nDefault: `false`\n\nIf using Node v9 or greater, setting this option to `true` will enable HTTP2\nsupport.\n\n### `options.https`\n\nType: `Object`  \nDefault: `null`\n\nPassing this option will instruct `webpack-serve` to create and serve the webpack\nbundle and accompanying content through a secure server. The object should\ncontain properties matching:\n\n```js\n{\n  key: fs.readFileSync('...key'),   // Private keys in PEM format.\n  cert: fs.readFileSync('...cert'), // Cert chains in PEM format.\n  pfx: <String>,                    // PFX or PKCS12 encoded private key and certificate chain.\n  passphrase: <String>              // A shared passphrase used for a single private key and/or a PFX.\n}\n```\n\nSee the [Node documentation][https-opts] for more information. For SSL\nCertificate generation, please read the\n[SSL Certificates for HTTPS](#ssl-certificates-for-https) section.\n\n### `options.logLevel`\n\nType: `String`  \nDefault: `info`\n\nInstructs `webpack-serve` to output information to the console/terminal at levels\nhigher than the specified level. Valid levels:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error'\n]\n```\n\n### `options.logTime`\n\nType: `Boolean`  \nDefault: `false`\n\nInstruct `webpack-serve` to prepend each line of log output with a `[HH:mm:ss]`\ntimestamp.\n\n### `options.on`\n\nType: `Object`  \nDefault: `null`\n\nWhile running `webpack-serve` from the command line, it can sometimes be useful\nto subscribe to events from the module's event bus _within your config_. This\noption can be used for that purpose. The option's value must be an `Object`\nmatching a `key:handler`, `String: Function` pattern. eg:\n\n```js\non: {\n  'build-started': () => { console.log('build started!'); }\n}\n```\n\n### `open`\n\nType: `Boolean|Object`  \nDefault: `false`\n\nInstruct the module to open the served bundle in a browser. Accepts an `Object`\nthat matches:\n\n```js\n{\n  app: <String>, // The proper name of the browser app to open.\n  path: <String> // The url path on the server to open.\n}\n```\n\n_Note: Using the `open` option will disable the `clipboard` option._\n\n### `port`\n\nType: `Number`  \nDefault: `8080`\n\nThe port the server should listen on.\n\n## Events\n\nThe server created by `webpack-serve` emits select events which can be\nsubscribed to. All events are emitted with a single `Object` parameter,\ncontaining named properties for relevant data.\n\nFor example:\n\n```js\nconst serve = require('webpack-serve');\nconst config = require('./webpack.config.js');\n\nserve({ config }).then((server) => {\n  server.on('listening', ({ server, options }) => {\n    console.log('happy fun time');\n  });\n});\n```\n\n#### build-started\n\n<!-- spaces before Arguments are a unicode em-space \" \" -->\n\nArguments:  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has started a build.\n\n#### build-finished\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-object) _stats_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has finished a build.\n\n#### compiler-error\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered and error, or a build has errors.\n\n#### compiler-warning\n\nArguments:  \n [`Stats`](https://webpack.js.org/api/node/#stats-tojson-options-) _json_  \n [`Compiler`](https://webpack.js.org/api/node/#compiler-instance) _compiler_\n\nEmitted when a compiler has encountered a warning, or a build has warnings.\n\n#### listening\n\nArguments:  \n [`net.Server`](https://nodejs.org/api/net.html#net_class_net_server)  \n `Object` options\n\nEmitted when the server begins listening for connections.\n\n## SSL Certificates for HTTPS\n\nUnlike webpack-dev-server, `webpack-serve` does not ship with SSL Certificate\ngeneration, nor does it ship with a built-in certificate for use with HTTPS\nconfigurations. This is due largely in part to past security concerns and the\ncomplexity of use-cases in the webpack ecosystem.\n\nWe do however, recommend a path for users to generate their own SSL Certificates\nsafely and efficiently. That path resides in\n[`devcert-cli`](https://github.com/davewasmer/devcert-cli); an excellent project\nthat automates the creation of trusted SSL certificates that will work\nwonderfully with `webpack-serve`.\n\n## Add-on Features\n\nA core tenet of `webpack-serve` is to stay lean in terms of feature set, and to\nempower users with familiar and easily portable patterns to implement the same\nfeatures that those familiar with `webpack-dev-server` have come to rely on. This\nmakes the module far easier to maintain, which ultimately benefits the user.\n\nLuckily, flexibility baked into `webpack-serve` makes it a snap to add-on features.\nYou can leverage this by using the `add` option. The value of the option should\nbe a `Function` matching the following signature:\n\n```js\nadd: (app, middleware, options) => {\n  // ...\n}\n```\n\n### `add` Function Parameters\n\n- `app` The underlying Koa app\n- `middleware` An object containing accessor functions to call both\n`webpack-dev-middleware` and the `koa-static` middleware.\n- `options` - The internal options object used by `webpack-serve`\n\nSome add-on patterns may require changing the order of middleware used in the\n`app`. For instance, if adding routes or using a separate router with the `app`\nwhere routes must be added last, you'll need to call the `middleware` functions\nearly on. `webpack-serve` recognizes these calls and will not execute them again.\nIf these calls were omitted, `webpack-serve` would execute both in the default,\nlast in line, order.\n\n```js\nadd: (app, middleware, options) => {\n  // since we're manipulating the order of middleware added, we need to handle\n  // adding these two internal middleware functions.\n  middleware.webpack();\n  middleware.content();\n\n  // router *must* be the last middleware added\n  app.use(router.routes());\n}\n```\n\nListed below are some of the add-on patterns and recipes that can be found in\n[docs/addons](docs/addons):\n\n- [bonjour](docs/addons/bonjour.config.js)\n- [compress](docs/addons/compress)\n- [historyApiFallback](docs/addons/history-fallback.config.js)\n- [proxy + history fallback](docs/addons/proxy-history-fallback.config.js)\n- [proxy + router](docs/addons/proxy-router.config.js)\n- [reuse Chrome tab](docs/addons/reuse-chrome-tab)\n- [staticOptions](docs/addons/static-content-options.config.js)\n- [useLocalIp](docs/addons/local-ip.config.js)\n- [watch content](docs/addons/watch-content.config.js)\n\n### Community Add-ons\n\n_Note: The list below contains `webpack-serve` add-ons created by the community.\nInclusion in the list does not imply a module is preferred or recommended\nover others._\n\n- [webpack-serve-waitpage](https://github.com/elisherer/webpack-serve-waitpage):\nProvides build progress in the client during complilation.\n- [webpack-serve-overlay](https://github.com/G-Rath/webpack-serve-overlay):\nProvides an error and warning information overlay in the client.\n\n## Contributing\n\nWe welcome your contributions! Please take a moment to read our contributing\nguidelines if you haven't yet done so.\n\n#### [CONTRIBUTING](./.github/CONTRIBUTING.MD)\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-serve.svg\n[npm-url]: https://npmjs.com/package/webpack-serve\n\n[node]: https://img.shields.io/node/v/webpack-serve.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/webpack-contrib/webpack-serve.svg\n[deps-url]: https://david-dm.org/webpack-contrib/webpack-serve\n\n[tests]: \thttps://img.shields.io/circleci/project/github/webpack-contrib/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/webpack-contrib/webpack-serve\n\n[cover]: https://codecov.io/gh/webpack-contrib/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/webpack-serve\n\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve","readmeFilename":"README.md","gitHead":"577a3a14fc0f9c898882dda86054e7c928d0f1c5","_id":"webpack-serve@2.0.0-beta.6","_shasum":"4785b5e41c70c5a13da100b2df72d23394ae0345","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"shasum":"4785b5e41c70c5a13da100b2df72d23394ae0345","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0-beta.6.tgz","fileCount":20,"unpackedSize":46891,"integrity":"sha512-MOEPJvJ/Sy9er+Z7l8ywqH7xNalmv2N2AmURyN3WjEyv7i/GOTia3jUzuNPhmD88FjMr7/JNL3K5jBbO3mCt7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkT32B/Rt/bDTsY5caLO4bo8P4vXvgkON2gfONsYCcCAiEAzUm27Ik1PqSgBoVOml39YNbag0KVTh6WPBK6uJuFF+4="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0-beta.6_1530928724299_0.00289512313937057"},"_hasShrinkwrap":false},"2.0.0":{"name":"webpack-serve","version":"2.0.0","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"d896e2e300d08621ca3b1aa0ff584efa8c6700de","_id":"webpack-serve@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-dVRMqJywJ6yrvBNDoYux+yEKsk/lnqTxjCpsmTirX5PB7TnmkOuKnWpWLuIFBHDdCI1elT8YuLF0/7R7mra8jA==","shasum":"1449996e92505d889784ffb7b427159ac28d6e14","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.0.tgz","fileCount":20,"unpackedSize":46833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ1rmCRA9TVsSAnZWagAA1BQQAJWJJGijyxX+11qICMJ7\ne37/eUL82mUD8jugFSafjHerx0tGQeZBq9aV0Tbl6f+fbsLkPAn6JcrsZlQJ\nlBhMLBazqRLiABeGvB4J8zncCmTDDxwvn7U3nglOldD+vDMP+ZZxu1XJDGB0\nRx3Ojm2bnMa5PWMlMyG63dp4QODOlh2in3u1oBYTYQP8kjacUQYWD/3eV/wa\nUzqrcgcK6ViwKAkdu5JULfi+B3xD1Ptt6nktO5Qk8ClLk3SXdqnHOrR2vsvT\nf/QRx/hAdjLckdF74TUgbOpiAMKD8kozVaNrY8OmhfCFny7LaDclC0CMV8/R\nYCrfEIWEaeRyczu2ib1c8v28EKBh04vMmiEIEEnchnfq4yzFsyev3+NrxXN5\n36W9mmv6vAZVBnIAloYi3GtP1nYuQhT4jWetMbn3eyizmgPTChteC8rhamKR\n9oPV988WhehLf4ndBGTryrrDZc9HHvy5trueAQCi0BLTJqPpCjLU/DXK37Qh\nvXSYt8aFxjX58BDAC745PHCGocQbqjscls8nQWEqd9Nv1w03sDMDPegoTbk+\nf/h1/GehJXvHeV4dpc/H5Fc9TL5PkMPleQR2VMQ1psFQq1AeCAKzFMkZcm3y\nryblYPQXm+iAGkp2XWLlN5RD6vfLisJgvVm9KbJipQo0Km74Jfni67IunXu1\nh/Xm\r\n=ahlu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlvv9fSJdEnJrgGIPRKO+NegZuoURQg8cXbXbsqbs8SAIgE35n6QPIYQDUJwlUzbMYLHARvikBtK9hlv6Xg4gUYiQ="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.0_1531140838602_0.34047972110973923"},"_hasShrinkwrap":false},"2.0.1":{"name":"webpack-serve","version":"2.0.1","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.1","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"69a6bbad3574d3042cb072f78b91ec187cc56d0c","_id":"webpack-serve@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-Wnx11s/uMqm/2aGphPDfBdVkoVWOtgg4YbnioEPR2iG3xtz9Kgx2MPieJ4cj++i6ewXLcDI7uhroGaEX7Tqvdg==","shasum":"2359e91bf068cae2cb4db1a6cfb81a1cdac2f4cf","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.1.tgz","fileCount":20,"unpackedSize":47049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ45pCRA9TVsSAnZWagAAtAMQAJMNN7QgqhWMtlk8gXy4\n9p8y9F3uleFWpCCDRR1Hega/WEvGQQlEV4kGk1dgyFKwwATgb/NrYewyWWV3\nlJrdW5kTWtzkMDNnE/edhcDPjWRPmRekG17C4cUzhx9W1+WVfRAjtgOp1UOm\nJYrJjm6GM6tqrvv0CjrR/4Lp5XwJGyyT+LcNE0k/1MZxKKYjbGUgi8G8wR6m\n1dUpWbPnqd+Pn5GMOApEr4hLatv1N9Wy1YAa2WGxlcJ/CD4Z1yUwnUhvY8J5\nzyHJqAeOVobabCEyqDs3GM6L3YKAweaPXKX371WCtrePUNbV3RdSbwTyeQkC\ni5Al4vL8I21s47dz2sMZ1ep3PEuJhkwe/a473WtwEEQlCA3lhIDKvNzNNhad\nuxGA6HJ81G0ihPEkuZcjR4rQYOAUWEH5+qN8q3xV6oJP8rqk10QsKU6cdWv5\n2O+wtYH/uyTcTHFODnUnWV7kZylsxu5SZt1vnnwO8sg5+eSHJAGzDwzZatsQ\nNiTD2yGQ4hDTASv2OJBErtW8ruJhTFL7lgjSegajOVCxzkRmF0nVtaNQqsb7\novlHZshF/Lg7wVrFQDDMVchdjfUmYjgkXjSjLgBdYOTJu90u7btkLIU4llkh\n1yAfw+zMyEUsa+EPPGpsTBnKEKpMc/B71wbJdsdMSnZn6Zfy8zAw4X3eqdoF\n/dQp\r\n=rBYu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+zG7UWH2XxWyQdOSgfrSnIoGacgYNIKS3Gx764+wA/AiEAwSfRLdPJZ5n8H7WnvY84PXcyL0xbbCJX3/7A9g9ICuQ="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.1_1531154025477_0.16524545394024925"},"_hasShrinkwrap":false},"2.0.2":{"name":"webpack-serve","version":"2.0.2","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/webpack-contrib/webpack-serve","bugs":{"url":"https://github.com/webpack-contrib/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","defaults":"webpack-defaults"},"files":["lib/","schemas/","LICENSE","README.md"],"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.2","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nsp":"^3.2.1","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"3acd224d1ef64a8e1aef4a83ce1c50a974b88947","_id":"webpack-serve@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-KQra2vayPKE2gooZRr2jF0Cs9AcQrS60Dmc6gMlFn4DmPkk/EmCuCODiAw008XedjwMBt8kUapDXJVu4gDH9Mg==","shasum":"6263b7c2888e169f84105da2119079098512b404","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.2.tgz","fileCount":20,"unpackedSize":47049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ/bvCRA9TVsSAnZWagAA+30P/3Wo7nFI64DCC4Np5g3Y\na15LVaEdU4h8R+WJDlMrBuIU5wRMGyJqPqXXf+d79gbXR8gwWJMxoQnT87Ze\n9bWb5PTIHq0rI1Cx7qwtS2ZpnFTI4ljkoQj970LIsWL8ncExEPZbYfAgW7Q2\n27jETw6IaPW0a1LBxtlcZd+1tJQV9BMKdSf+2fBPXAlxnJxt7eRNPfny9upl\nOZTQ85LwlhoKA2Cx4LRIEy+tVy6fqHaigNT2N6cXclvRWzNcZjGq8IyEXbEI\nZEfje7DmCRIcgdIivaJcB7+6t82WAmyNR2+CfOBF1uUaWQddqL+THkQ1WmlT\nsCPEsua3OPBROCTJ0eWMj8U05LiUiWItmHtZ74opchU8DObN8N7xUZHYCIKW\n1B1l1YwpX0xyQF4qfpjrIyDzG/BW0mM8ExqWucrSexPQu2h/vx0q4LyMVRj/\nuubmhcyLPi4DO5NLLr08gSEeAOv+lZQkguQHo/b0VaCb92hf2cnyWDGtv5oz\nqbDlR3rYd5Pfg/h/VzNq+SQzdg6d/xXf/99AWxB76dNGk/3qZXR2DW6W2ZTZ\nd+z/vONfJVDYyAlM9LLgM73Wq13ttU00pOipLT/qHpbK6VLFIau8xdTC9n8O\n4zbnbcBxqpVD/ZK+XQIpCmQjPtZLoDuj3XfpljDXFCgPkO3o9noearae2SKC\n/ehn\r\n=fXt0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxUK5qn+AOQVYzz6UKT6s4K8jJIRu34FEXhL7zK+8AhQIgY3fx9W446yPj3+UVn5/KrCCcnLapv1AUHDzrrOOfY7Q="}]},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"},{"email":"mail@johannesewald.de","name":"jhnns"},{"email":"andrew@shellscape.org","name":"shellscape"},{"email":"tobias.koppers@googlemail.com","name":"sokra"},{"email":"kees@webduck.nl","name":"spacek33z"},{"email":"sean.larkin@cuw.edu","name":"thelarkinn"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.2_1531180783288_0.4936059576923213"},"_hasShrinkwrap":false},"2.0.3":{"name":"webpack-serve","version":"2.0.3","description":"A lean, modern, and flexible webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"main":"lib/index.js","engines":{"node":">= 6.9.0 < 7.0.0 || >= 8.9.0"},"old-scripts":{"beautify":"npm run lint -- --fix","ci":"npm run lint && npm run test","cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov --token=$WS_CODECOV_TOKEN","cover:report":"nyc report --reporter=html","lint":"eslint index.js cli.js bin lib test examples","mocha":"mocha --require intelli-espower-loader test/test.js --full-trace --check-leaks --exit","test":"nyc npm run mocha"},"scripts":{"commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --cache lib test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","lint-staged":"lint-staged","release":"standard-version","release:ci":"conventional-github-releaser -p angular","release:validate":"commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)","security":"nsp check","test":"cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 jest","test:watch":"jest --watch","test:coverage":"npm run test:cover && npm run test:cover:report","test:cover":"nyc jest --collectCoverageFrom='lib/**/*.js' --coverageReporters=none --coverage","test:cover:report":"nyc report --reporter=html","ci:lint":"npm run lint && npm run security","ci:test":"cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","ci:coverage":"cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 npm run test -- --runInBand","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"@shellscape/koa-static":"^4.0.4","@webpack-contrib/cli-utils":"^1.0.2","@webpack-contrib/config-loader":"^1.1.1","@webpack-contrib/schema-utils":"^1.0.0-beta.0","chalk":"^2.3.0","clipboardy":"^1.2.2","cosmiconfig":"^5.0.2","debug":"^3.1.0","decamelize":"^2.0.0","get-port":"^3.2.0","import-local":"^1.0.0","is-plain-obj":"^1.1.0","killable":"^1.0.0","koa":"^2.4.1","koa-webpack":"^5.1.0","loud-rejection":"^1.6.0","mem":"^3.0.0","meow":"^5.0.0","merge-options":"^1.0.1","nanobus":"^4.3.1","node-version":"^1.1.3","opn":"^5.1.0","p-defer":"^1.0.0","p-series":"^1.1.0","resolve":"^1.6.0","strip-ansi":"^4.0.0","time-fix-plugin":"^2.0.0","update-notifier":"^2.3.0","url-join":"^4.0.0","v8-compile-cache":"^2.0.0","webpack-log":"^1.1.2"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@webpack-contrib/defaults":"^2.4.0","@webpack-contrib/eslint-config-webpack":"^2.0.4","babel-jest":"^23.0.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.0.0","conventional-github-releaser":"^3.1.0","cross-env":"^5.1.6","del-cli":"^1.1.0","eslint":"^4.5.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","execa":"^0.10.0","husky":"^0.14.3","jest":"^23.1.0","jest-serializer-path":"^0.1.15","lint-staged":"^7.1.3","mocha":"^5.0.0","mocha-chrome":"^1.0.3","nyc":"^12.0.2","pre-commit":"^1.2.2","prettier":"^1.12.1","standard-version":"^4.4.0","supertest":"^3.1.0","webpack":"^4.0.0"},"keywords":["development","devserver","serve","server","webpack"],"jest":{"snapshotSerializers":["jest-serializer-path"],"testEnvironment":"node"},"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"464d70ef8974730a7c874c2d0be337d13248c00c","_id":"webpack-serve@2.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-hJiikqjNm+opxaEY9JO/W+IHhWg3VC+meMOqHeOYyCjFyRVh2BzUlhvTh9ZKtuxcHCrez2VlghYrpII98ZpRqQ==","shasum":"61d24481d8560bcc45c7be005d326c9ba5ed7e0c","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-2.0.3.tgz","fileCount":20,"unpackedSize":47958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9BsbCRA9TVsSAnZWagAAy9kP/0l1d1Do/4Ty/KJpvA3C\nraDGYuKGtI0Z5pujAo4hz0t+u/OuFH3Hz0q56P7zDrsPjxCHL7bx8NXNiKGv\npJ8W0ndD7HGhCCRt5QAk5dFS48oUN9yHxbDGuE68uTxzo/hEStaZXAgQ/l4c\nXojvCdQ8r3re4dXKm5shWYvbBUcuiaqz8Hx2fFwtnES3j3c4yMnl8p7YnzjA\nFYkzo+PCKeFX0FqYWqq3o2q0NCQ5X8Fr9mxXhiY/csJznVIyF0/TZHvo3yYZ\ngFlYPAxvREurbfr3C3URK3RR8nxU64kmtwPF3HWnEQ96YiU7cCEqWbizhnDa\nV9v9zJWppkEH1aJW36iVcflUqy5U45DeLwH+FSs8gFNFZczXmNUh18LwMdRc\n974LEnQ7q7ZYyyshw1vnjk0xGfJythe4YfSiseiy44DS3nAd/lFZA3D9rtLS\nN25co8nFOMGIBB8dN8WUnMD/0SOd7Ok2GlzshcCqdOxyyW1DGF7/99lbkAvf\n+ydMI5ra9uNUoEyFqx5UChJsiw+BFcdA1SdYMYgwaMUhzya/rBHOYKTQrcOe\n1HEekCJQhOXQjyZtD2e4+YX40DUN8lrvbZIJpwxnjQ2vIhDsd5cW1bDCtSqn\nYMg5UVEACtfGgEyp+yMmAVd4RJVQzqEaf7KitlzKP5lCNuQC0IF5zViUzGTO\n402B\r\n=S3xg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFONw9f0VLQNFAFbSVBYzCZxEciCDBiNmLd8pORVrGuIAiEAvcEg+DHR1grUNUv4jS+ior/NTNwgCubQTSe+n1FgZSs="}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_2.0.3_1542724378148_0.1757257234516889"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"webpack-serve","version":"3.0.0-beta.1","publishConfig":{"tag":"beta"},"description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^2.0.0","is-plain-obj":"^1.1.0","object-path":"^0.11.4","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.7.3","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","ava":"^1.3.1","eslint":"^5.6.1","eslint-config-shellscape":"^2.0.2","execa":"^1.0.0","get-port":"^4.2.0","lint-staged":"^8.1.0","nyc":"^13.3.0","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^5.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6"},"keywords":["development","devserver","serve","server","webpack"],"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"readme":"[tests]: \thttps://img.shields.io/circleci/project/github/shellscape/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/shellscape/webpack-serve\n\n[cover]: https://codecov.io/gh/shellscape/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/shellscape/webpack-serve\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve\n\n[https]: https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener\n[http2]: https://nodejs.org/api/http2.html#http2_http2_createserver_options_onrequesthandler\n[http2tls]: https://nodejs.org/api/http2.html#http2_http2_createsecureserver_options_onrequesthandler\n\n<div align=\"center\">\n\t<img width=\"256\" src=\"https://raw.githubusercontent.com/shellscape/webpack-serve/master/assets/serve.svg?sanitize=true\" alt=\"webpack-serve\"><br/><br/>\n</div>\n\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA CLI for [`webpack-plugin-serve`](https://github.com/shellscape/webpack-plugin-serve) - A Webpack development server in a plugin. _(While using a CLI such as webpack-serve is convenient, we recommend using `webpack-plugin-serve` directly in your webpack config instead.)_\n\n<a href=\"https://www.patreon.com/shellscape\">\n  <img src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\">\n</a>\n\n_Please consider donating if you find this project useful._\n\n## Requirements\n\n`webpack-serve` is an [evergreen 🌲](./.github/FAQ.md#what-does-evergreen-mean) module.\n\nThis module requires an [Active LTS](https://github.com/nodejs/Release) Node version (v8.0.0+ or v10.0.0+). The client scripts in this module require [browsers which support `async/await`](https://caniuse.com/#feat=async-functions). Users may also choose to compile the client script via an appropriately configured [Babel](https://babeljs.io/) webpack loader for use in older browsers.\n\n## Feature Parity\n\nSince this CLI leverages `webpack-plugin-serve`, the same feature parity information applies. Please see the [`webpack-plugin-serve` Feature Comparison](https://github.com/shellscape/webpack-plugin-serve/blob/HEAD/.github/FEATURES.md) for more information.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install webpack-serve --save-dev\n```\n\n## Usage\n\n```console\nA CLI for webpack-plugin-serve, providing a premier webpack development server\n\nUsage\n  $ webpack-serve [...options]\n\nOptions\n  --all               Apply webpack-plugin-serve to all compilers in the config\n  --client.address    Overrides the WebSocket address in the client\n  --client.retry      Instructs the client to attempt to reconnect all WebSockets when interrupted\n  --client.silent     Instructs the client not to log anything to the console.\n  --compress          Enables compression middleware which serves files with GZip compression.\n  --config            A path to a webpack config file\n  --config.{name}     A path to a webpack config file, and the config name to run\n  --help              Displays this message\n  --history-fallback  Enables History API Fallback\n  --hmr               Enables Hot Module Replacement. On by default\n  --host              Sets the host the server should listen from\n  --http2             Instructs the server to enable HTTP2\n  --live-reload       Instructs the client to perform a full page reload after each build\n  --open              Opens the default browser to the set host and port\n  --port              Sets the port on which the server should listen\n  --progress          Shows build progress in the client\n  --silent            Instruct the CLI to produce no console output\n  --static            Sets the directory from which static files will be served\n  --status            Shows build status (errors, warnings) in the client\n  --version           Displays webpack-nano and webpack versions\n  --wait-for-build    Instructs the server to halt middleware processing until the current build is done.\n\nExamples\n  $ webpack-serve\n  $ webpack-serve --help\n  $ webpack-serve --config webpack.config.js\n  $ webpack-serve --config.serve webpack.config.js\n```\n\n## Flags\n\nPlease reference the [`webpack-plugin-serve` Options](https://github.com/shellscape/webpack-plugin-serve#options) for information and use. Most options are analogous to the flags listed above.\n\n## Meta\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n[LICENSE (Mozilla Public License)](./LICENSE)\n","readmeFilename":"README.md","gitHead":"fc62734d5df9f4db3e801caff3d5722cbec23f0f","_id":"webpack-serve@3.0.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-qfOvBqsPEODV7dGxaMJiaCQ5dcvY+rvTf0Cuiz+PxIuUkt+ggnQRDdB+Q2se0WA3+0CttlaHfEQ1rzPWblAMLw==","shasum":"33601a1d4692d6d405ed25be365bdafd8a466801","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.0.0-beta.1.tgz","fileCount":8,"unpackedSize":35751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciU6RCRA9TVsSAnZWagAA9ekP/0ggZyRoFKTiKGbkYTnV\nLexr6CdoSBZrpm1eqfq/mF8qPL/fyzmrSq8/IdLuZYw8kU9NJpQfWyWhD9X3\nwbxcMqYqd9AEFe8IfwRm/ezAy0nTyZJS93MnA9UkQHhQBLJPzfeZbc691KfC\nxP9eLVh1nQRl6IRYcJmogpI/TG4tCoXmcwxqsNWB6QnXEaiaIr1wrpDxFNEo\n1dz/YsZ1CDUONMLoLT2VN2xDN4+Oe5R5+lauz7tkqVPWURt+Fe727M6dMslU\nlaJv2xni9ohUHGJSzhVEQL8SJGJmsmetIm/BlDpSxzIVpv1J89iPdMAGMg+N\nOJY18846QiL0Tmp8weV26Ty3jxSQ2MoDNFPdaA3euXIdM1NnKn219Xl66tUX\nzkmMhkdYgMXlLtfHE3G74HOHx+qpQp0vPKwv5DYexNCYj1DY8dQsLFecWK4B\n8/9BylqbKaA5jE+YA+HIHygl5wx5nYoczRezZ4lYqoLXte9Uw4i4Ytq0WxeV\nHbOXAglK5q3AoqzUzDcqUUpn8cNA2FXLP73ZJFb599tzZiEIgMVrydahMZbI\nLAxWAdko8Jqodqf9BEzSijCk/JYXW79wcCosD6AWqcXbhHrSRoBTylCwloZy\nmf39fHKBG8/FbeoiE1aCozXESAtbvNZvLQw3t7EwYpFHep27oEoZyN6aoyeO\nLIuL\r\n=LYtO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqY9IfdATuZ1UsZdLAmt/17BCpbfg01kd5Pr22mL4R4wIgUiCJUZcrFCdKd91IYDiRrYF7WLsMa1ia/nrhMnXFSeg="}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.0.0-beta.1_1552502416161_0.46910759826113746"},"_hasShrinkwrap":false},"3.0.0-beta.2":{"name":"webpack-serve","version":"3.0.0-beta.2","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"lib/cli.js"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^2.0.0","is-plain-obj":"^1.1.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.7.3","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","ava":"^1.3.1","eslint":"^5.6.1","eslint-config-shellscape":"^2.0.2","execa":"^1.0.0","get-port":"^4.2.0","lint-staged":"^8.1.0","nyc":"^13.3.0","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^5.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6"},"keywords":["development","devserver","serve","server","webpack"],"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"9fb3904d5960cef9af041edd98f8e05d08271963","_id":"webpack-serve@3.0.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-rROLTUjBmMcNCw3KoZQUFyGfgPxlDjrYpC+KvxWtSOJcnxSSbQMV3vNV3QLzbp51/1ByBidwz1refYx+rtB2Ug==","shasum":"9f6402fc374344821b20b7a115bf0bc6b9b24569","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.0.0-beta.2.tgz","fileCount":8,"unpackedSize":37081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcinnICRA9TVsSAnZWagAAG6cP/iwFFC1hXiE1rKh2t2Kg\n5hjap0F0tsHW7kU7KxsfxcHwbB/UMnxJ7onsBf573Pro0tean7jmKwSwDuK7\nO98kM2IPC57gcIFKrwv0fueS74n/lvgRViXylZK9ygXUz6j+xlTvpGAvoXUw\nMw9h/TGMdIvDpVnu+bbx/bi8z6PvcEYHaLXf7Ca0Qzojz8T1SYSM2J7OVlsg\nAS572FoywUdqOzJhx9980v7HjvuYS6RrYXGdN0/Kr+me7ZJ0i+QlYBO59fes\nWw4G3ZWQXM/RuQzM2PY1/QjWQjhnrU07aTVVvaPVjxvmBe6IGa/dsyRlh8d/\nF+bIsEHDYKtpZ++bf9Am22BsYggGFhit4TZnLpOUO87NwzPylh8SIN/C91Bp\nUl5/wzaL/853uEpLUUyHQhnpDMwEJwTGus2tzo4t7mp8V99wrSBVqkVFnqky\n8orOG6lj4iNjNGTcTU8rgmw46mfTuTm+bt+v98YF2BAUTGWrrLqEDlmapP/n\nlfLm+KmZL3TpeNlIbjL1auzp5srOqsMiA782bdqqGo35SPykIeBqesIHvKbU\ncI9vgI215or5jb0INTXrQOgtLGR159nS7AkYC0q/D6yyoCX7RtNCv6LIP+lf\nPYPHEtsIkODLPQs0tkUv/zhk20Dg7CvKLNR4Uvhekg36cmPcqZf0hUcf7WsG\nymZF\r\n=+H93\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRpgvLPfNATOHhznqSgl0P1mP60m/VsJqbIvxtdsnUXAIhAP9crNpxU76cIZoFsCyDeWiLmTYwagu3wXfBvH53KC66"}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.0.0-beta.2_1552579016111_0.2550088205511447"},"_hasShrinkwrap":false},"3.0.0-beta.3":{"name":"webpack-serve","version":"3.0.0-beta.3","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^2.0.0","is-plain-obj":"^1.1.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.7.3","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","ava":"^1.3.1","eslint":"^5.6.1","eslint-config-shellscape":"^2.0.2","execa":"^1.0.0","get-port":"^4.2.0","lint-staged":"^8.1.0","nyc":"^13.3.0","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^5.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6"},"keywords":["development","devserver","serve","server","webpack"],"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"d7ba67153823a1c9add429e9c9e6b77ec0ffe928","_id":"webpack-serve@3.0.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-TNIC/oqPrhSsShVO74Zgf0N0SazNOTjHwz+EAOQjwVa+GmfnUm32Jm7nZFKHTs2nQa/y5Wvas+1UzSbleW5gng==","shasum":"629936823221629bc52eab7ce7b2fea56b288761","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.0.0-beta.3.tgz","fileCount":8,"unpackedSize":37088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciupVCRA9TVsSAnZWagAATkgP/0KVRYsgJ9tFvGEfo0tY\n0GXl4kEjDxwa/HjiDp1xKN1zU0F9gsKvx4mVjET7mp2OGwMVgfWOGs81J1iy\nOPoiuleC2qS1uIGEZcXX7+4HbJvsrKiylmJGpI7T6vDVzKke9lAtfFb4bO1O\nMLWgZmfbQXcSkrdwSNKmF+nbXQ61BZ0yHSSNyeDSfuyI37iWqOn/ALlexAZL\nKwhqSvZT4YjLjQrmgLuPbFrE2KfNO80aJGnmdGU0/6SYksB5u48bPIEZcOsx\nMDtdqWBlUxgJxqXLYZyi2LWfvMuCWo4tBIikEPnoaYazhgSNYqrWDROuSe3X\nHIP1yWC7xV+Q5OjB8w+MtAYF8NpTzDYucIXDS9V8gBH2NllgOG5ByDmgEaIs\nzKRdXHYaTddy1b5VpDfHoscP+AFsdiZmLcEj4LdhWuCQMa7nNGW5Q90mUMxN\n7FRrA9mi/6xQ258J0ppFZjonT/9q8p2Q7PP4q9YvVJsYIfJCcKnzd3cF3ZHn\n4kc0my1DulCcme/QleiaMpnnAw55sVkaiQ+bL79oXiVss2/Zl1k401H3M6KE\nCCNLm7+1u99NtYLFNIxx2wlcAqK7SJHhFRA9hGO4S5F+kG3JZqU7oc/B26FU\nWsa51x2uQ3hmZ0lkHVLdvXY7GqXAU8ZCDsgKcNu8jrcyjZvCWfobJPBYACTZ\n0B59\r\n=5FZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAaJFNnyRrDhKOCgz2RHf7sVwh2rq2Ek/WAaJPSuKxuwIhAO28U+sT3yRW+BX4v8RMwJiKkuVuXnL8+4ue4bCGIefd"}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.0.0-beta.3_1552607828773_0.9339175086073503"},"_hasShrinkwrap":false},"3.0.0":{"name":"webpack-serve","version":"3.0.0","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^2.0.0","is-plain-obj":"^1.1.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.7.3","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","ava":"^1.3.1","eslint":"^5.6.1","eslint-config-shellscape":"^2.0.2","execa":"^1.0.0","get-port":"^4.2.0","lint-staged":"^8.1.0","nyc":"^13.3.0","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^5.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6"},"keywords":["development","devserver","serve","server","webpack"],"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"d84f9217c5f69a6a436e96804a1eaee7f6155009","_id":"webpack-serve@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-UTSeWEMQhVlHz1DMWzXTz8/yiM+foprBeUK44lLZPLpgt+IvLn3qN02ByTAwSyua7gzf5ZYQNea75SJ8A6WvYA==","shasum":"ebf15dd6160ded59f72b3ab03f8dc7c612f6594a","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.0.0.tgz","fileCount":8,"unpackedSize":37081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcofUtCRA9TVsSAnZWagAABBwP+wcnw7/qAr6pvwdIbcO7\nlux9nw0/8JHOK7GawrwbTfAwommp2mXbp/27lxEAGBdfUwTkO5g3Jex+KPQ+\nswp8UFDiStxSYxpQTQ+AuWprcZzD2pRP6yylRvWpGuIBe3MYVrFgO27HZRDB\nrpoFKwEvI/F0wwSjxnBJzScjiZPa47OTCP9b5/OEr/b9jBoLGVKj37EwrI0m\n7gcwgZwS4FNfb6Q/wR3ZIBrf8Hch2vArx01yq02drwCGQ6uCJQQMtrLY+k45\nSFqtxTq3hRmgjphsaJqlWDFQwGkDXU9nZgfjEdeqPEsdzcWRd3dzx0JyFdSO\nhlzD6bQgunuZQEgs3zkwQwzzhnjC2JXdtClFqEq+8k8guAo9jHb+v0l8HOZ5\nyeeSU5ELabgBEe6tzpUUmefxfOhn2/tOmyaSCLswB81K69L+0ph/QsmaLWo3\nxvxPgVIrnu9ZpNzJEx590a/y9Gn0iYPNNAH6RH31KbPv8BFUQM/aniubVE3k\nkkmkp5tBgptcZlZQrd2dJHuiOm/Ys9FCkA833udaHJggMYtT4/P3B53/15tk\ndpcHX7J7eMGfJsb3X1FrvoBSHnBx8ooklOEdqtXic16XJrdnitW32byT0ONM\n4cpUTNLd2fi/rCbNCEWLlzxJzBUIvRVptPXqoXyrSgxm/jzFzraIotQyVrW9\nRNxp\r\n=Smp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8jC4sqSnm6YeFMWQ99fQ0ZlrW2AjnykNmHPjxpaCQMAIhAJyBfD0Fi1TBYf+yLszI93SD/M+80T+XGg54fqBT4jK2"}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.0.0_1554117932881_0.516995495942741"},"_hasShrinkwrap":false},"3.1.0":{"name":"webpack-serve","version":"3.1.0","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^2.0.0","is-plain-obj":"^1.1.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.8.0","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","ava":"^1.3.1","eslint":"^5.6.1","eslint-config-shellscape":"^2.0.2","execa":"^1.0.0","get-port":"^4.2.0","lint-staged":"^8.1.0","nyc":"^13.3.0","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^5.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6","webpack-nano":"^0.6.1"},"keywords":["development","devserver","serve","server","webpack"],"pre-commit":"lint-staged","lint-staged":{"*.js":["eslint --fix","git add"]},"gitHead":"c9ed1a0543db17a0f153ecbefe014a3adfcf6502","_id":"webpack-serve@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"dist":{"integrity":"sha512-pSt5ryMSLNELP2nuzdeBWuiS/ZH9CEcgQ2QTHNUWZAJzWTlq28O5tnVR4p7VdATCO4E6PquswQDntk1glEsMYA==","shasum":"0a59d4bfa1985d8a1a4556886c5f42c15326b208","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.1.0.tgz","fileCount":8,"unpackedSize":37758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq0WWCRA9TVsSAnZWagAAzgcP/jzZpYYNCwaoOpVUAPAd\nJxD8PoTDXE6+sKIfZpyVyAXigjkCBEG0nJh8Yx2+URpHNXH0c/M4qwffnZL8\n0Hc8QCoIfSTIvNBbTNvTQ5nd7ezmK3NxnjeOivNLjF1egF6ChUMgBk2tAoMM\ny2M3fKGe2hyxWWv+POK/luVoDxEFuPZVIhHyEWJXilfDPiRtTOV+v3GCz29h\nHhmsIZrDO8/vABU0dLESL6IkY53EjENEBROzBe3D+jnsqwR7PChfiB+aBIXo\nh1W/7itA2K3ImvT1H54fS2S1vRRQzHW2PnHq0CzEZAPvq9sxcwAl5S61clQn\nvkUdWJaLOQGSm2TlkbZdXtBlYHG1m3o4+pNh4iTvQKhX0Zzx3knzBW/SM0ZW\nOwsnx2dnr8GVaQlVy16LRBOSQv2mALbOIiR8d1QZN9Adu2KEeuFrvu7cCEAG\nNIjF5l5XXBwiLMT43uwKZpaAbR+eMBLgJMpvP7xWLB//BS0Cc5eeujYn4lWM\njamw9XMBs7qMWFiiVcJEBTJxJrXBcVuY+h+goTsVFnE/K6lUMU4bm/j6Ba6P\nB2n9281QYWzdm8JVsFif58zofsnMNMWJjW7Cdrhs3+WapMI1OypTMlmJhl1i\noyg2Fn8/AMRF4XBAYJrKO1eAOOVD+gqG84A2xeEvNMsObD6EmoTq/Khovjua\nAJut\r\n=ZY5X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcf88MBa27BFWYm0GB8Vdy7eMw/o5MRFfak7rbHYQDuAiEAiEAIP9ftdacFaqlpr6CDtBN5RdOlNWAYktbjhl7Bsl8="}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.1.0_1554728341321_0.28655281417936185"},"_hasShrinkwrap":false},"3.1.1":{"name":"webpack-serve","version":"3.1.1","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^3.0.1","is-plain-obj":"^2.0.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.11.0","yargs-parser":"^13.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","ava":"^2.2.0","eslint":"^6.0.1","eslint-config-shellscape":"^2.0.2","execa":"^2.0.3","get-port":"^5.0.0","lint-staged":"^9.2.0","nyc":"^14.1.1","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^6.0.1","strip-ansi":"^5.1.0","webpack":"^4.29.6","webpack-nano":"^0.6.1"},"keywords":["development","devserver","serve","server","webpack"],"ava":{"files":["!**/fixtures/**","!**/helpers/**"]},"lint-staged":{"*.js":["eslint --fix","git add"]},"nyc":{"include":["lib/*.js"],"exclude":["lib/client*.js","test/"]},"pre-commit":"lint-staged","gitHead":"d0c47fd6d2a4c4e4f5101cd0d0f00813ab7bcab5","_id":"webpack-serve@3.1.1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-8alr/2EJSwv9MN1Q5IAazfDPcUSQeEEkv1J70+xmcrzXa4IxZxkFhkoYGZ4aghS/2Rc3c0Kg5gd/ou8XMTti5w==","shasum":"7d2ca78dd54e81fc6d6239a93badb6a86727149d","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.1.1.tgz","fileCount":8,"unpackedSize":37962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdM7LrCRA9TVsSAnZWagAARnwP/jDCZndsFtDhK3oQyUVu\nlnIyY7QV8qza6Slll591UMlQO9b0+hC+FQjKqf9p9Z4Oi4t3v8wPmhfek0Wp\nAVPXsVbJfjZpNvUpQ/ogAe4CnKyZokdGTubfUkBg2ewOiptkjt1cyAQky5Wu\nGObYZikU6DR7EVyu1jkNJ9JVV4lW3oiYcnKOLIMzBxX0vwu3XdYLbZICcM6F\nWAN+9jFmH9NNw/K3Ms+Hq1u5556EMtqwFUq+2N/AFPu61U0JDAB33+8SyvMb\nfJ9rPeo6vdwXG6Ff/p4UUaXlhi66XDAOeeEooUyGp+7BJDTSgS3K0+J6Nj09\nGf3iWLLA2SoFMZFbcHVaOLfbynXUsUB7DjmM9wupImc8h3j6xbt4q1nq4i7j\nw0xo51+NNkkYy2j0ty7+BbyhyWZ03c10M3APAjUqT29SAQLTJ0hk7KPQcqpm\nzccNW7Tu6CLveTt2SWkbiQiDB0F+zxyB9p3LamkRvJ6b9PCthJgkv5PJkDHP\nzFMrTPIeiYafCAH8Svy1F+dTHKZ9ADjXIVGfGsrwPR+CrKq2l6sqJ47WYNre\nempT0S3gtO4P5JsUFc4S8i8/gO7wsDQ4pdaVtF2QlNIRwiuhFFFmaQE/6+YW\n50nDOCsGQZaRbduL42JGOYCbMgcwhvB+NQImLrD7D/vk1J84++VkaL1u/wCD\noPIv\r\n=frkW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtut5B2QEEl2t+VInD4705VFdTuqKe0duU1uMcFeMIdAIhAJTMO0YUR8hP949SSSUZVDF66+2E0RCt07R4oztf9Q83"}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.1.1_1563669226959_0.9285459683213957"},"_hasShrinkwrap":false},"3.2.0":{"name":"webpack-serve","version":"3.2.0","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^2.4.2","decamelize":"^3.0.0","import-local":"^3.0.1","is-plain-obj":"^2.0.0","object-path":"^0.11.4","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^0.12.1","yargs-parser":"^14.0.0"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","ava":"^2.2.0","eslint-config-shellscape":"^2.1.0","execa":"^2.0.3","get-port":"^5.0.0","lint-staged":"^9.2.0","nyc":"^14.1.1","pre-commit":"^1.2.2","prettier":"^1.14.3","puppeteer":"^1.13.0","standard-version":"^7.0.0","strip-ansi":"^5.1.0","webpack":"^4.29.6","webpack-nano":"^0.8.1"},"keywords":["development","devserver","serve","server","webpack"],"ava":{"files":["!**/fixtures/**","!**/helpers/**"]},"lint-staged":{"*.js":["eslint --fix","git add"]},"nyc":{"include":["lib/*.js"],"exclude":["lib/client*.js","test/"]},"pre-commit":"lint-staged","gitHead":"26ea53745545017ced67d51597cfa8d3facddd90","_id":"webpack-serve@3.2.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-voK36uw1PpW4jYHjSthUNVeghlfNdnO56iyKdMw7P/MKPmD6WbzwslwnjgDMz33IDRlfAiT+EVVNSa+14TAkJQ==","shasum":"b4cf4738712f469fef5d1aa951ceb565390a1405","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-3.2.0.tgz","fileCount":8,"unpackedSize":37938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg5yoCRA9TVsSAnZWagAAacwP/3ZgV+ZrQS2Z6ukvQzND\nO7GaB+Sx9/6HUnsgwbPButE5SGdMWso73V1BGXS5uWmFJojNbUFH5mWZxrxJ\n9mDxAxPPF0I79tUrjGTS7zrEML/k2F95EC6XlWSQj0zB0lOKjBoA84t7K5oL\nqB4BWs/qxzhY/o2uJpqWb6P8rAc6Uo8MIFQKhV/Gjr2hHxI6tA7uVdvUthtt\n4bMegfPelcn0HJIthtXomiNbDvdNDYTN7as7A8hsYaoS9FNceRn7SzYQIsxU\nkB2+XXlyzMy5NoAI/t/szwU5TJOsKVcdXckSdS87UXnF4jDNYE2xHPUdOCxV\n3xCtJmpc8F9uA3dpgy8pjue87LcDy8y1L+Y89wabk333F/w95onUsIEHapWB\np6EzQTgBoGxTZg0p0/dSVf5gU+ZSCMJFEx4a497g1Tn7DCtWG1sUZGmQdPZF\nQcY9mxveWqJIPMVf9sF9YiZEUXmYHDzjschYipTPid3U+lAvTErKKBDpXOcV\nMuk6bAjp/Hi42GOF3Bm+VQPwm7QxGWTli3arvntJoJVPKXVG4aOVKFSZUGfw\ndY/qU4QuNmeF32/XSM8esw3MG2nJCQFCh45J287R13amJG7th7KSLp/xNsHE\ndROMeImWInCIzPfm/UnVHh1XxgiR6+F983HEkTo975c9AdCRkeca5N03Yts6\nEX9G\r\n=/3sA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZlk3H/J53mnK89/WmbCrfs5vF89CDmOuNvA66S5iR+QIgUvZf56DdeU37fTTeEtcon9XCxbVuQs1kZIZynEo9wJ4="}]},"maintainers":[{"email":"andrew@shellscape.org","name":"shellscape"}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_3.2.0_1568906407497_0.17771767225567836"},"_hasShrinkwrap":false},"4.0.0":{"name":"webpack-serve","version":"4.0.0","description":"A CLI for webpack-plugin-serve, providing a premier webpack development server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"homepage":"https://github.com/shellscape/webpack-serve","bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"bin":{"webpack-serve":"bin/webpack-serve"},"engines":{"node":">= 8.0.0 < 9.0.0 || >= 10.0.0 < 10.14.0 || >= 10.15.0"},"scripts":{"ci:coverage":"nyc npm run test --verbose && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache bin/* lib test","lint-staged":"lint-staged","security":"npm audit --audit-level=moderate","test":"ava"},"peerDependencies":{"webpack":"^4.29.0"},"dependencies":{"chalk":"^4.1.0","decamelize":"^5.0.0","import-local":"^3.0.1","is-plain-obj":"^3.0.0","object-path":"^0.11.5","pkg-conf":"^3.0.0","rechoir":"^0.7.0","v8-compile-cache":"^2.0.2","webpack-plugin-serve":"^1.4.1","yargs-parser":"^20.2.7"},"devDependencies":{"@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@commitlint/cli":"^12.0.1","@commitlint/config-conventional":"^12.0.1","ava":"^2.4.0","eslint-config-shellscape":"^3.0.0","execa":"^5.0.0","get-port":"^5.0.0","lint-staged":"^10.5.4","nyc":"^15.1.0","pre-commit":"^1.2.2","prettier":"^2.2.1","puppeteer":"^1.13.0","standard-version":"^9.1.1","strip-ansi":"^6.0.0","webpack":"^4.29.6","webpack-nano":"^1.1.1"},"keywords":["development","devserver","serve","server","webpack"],"ava":{"files":["!**/fixtures/**","!**/helpers/**"]},"lint-staged":{"*.js":["eslint --fix","git add"]},"nyc":{"include":["lib/*.js"],"exclude":["lib/client*.js","test/"]},"pre-commit":"lint-staged","gitHead":"db1f0ab9230b7696eab5d9857f95a0f14e865fa4","_id":"webpack-serve@4.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SqyRP13y2S3Z5S5M5WGrK68wQ7ciqZrC6bk2R7NwK9Ebbsg8ltlgqh+ikfA2EBLRtxBeQxDsQIu33DcXk0Tyjw==","shasum":"99b9040ea638f4039c9072f3a4e76e2c9bc253f2","tarball":"https://registry.npmjs.org/webpack-serve/-/webpack-serve-4.0.0.tgz","fileCount":8,"unpackedSize":37962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZdcPCRA9TVsSAnZWagAA6KUP/1oDExidB1h1MYo0GxjI\n4CXkFzFek/Ag8K4id35t55a45asoCuXhVYnIj/Zu7kowjFAm84JE7P8IasJ/\ncPIIR3d3OIQoiHKMTCvK8j9BNa+JdQFqkZenzmF7ZNRSsSBE2pLSsY0CEhBU\nHaNmjm6kkz2o7DHTEFlXUh/LY50cHC/PM4/6OFXqlzvGcwsRzk09ENWTJolr\nYU5pwaIxD7AYj05wPBfsi1tQYRimSDpCFi4Yr73DKU2oOHIvYvp2MPHqfmzW\nycWUo2+wy1oibpV8H7UAgu9NBO8JC2FtzA03GMkXJq1S8DsFv6LW3NoEMlV1\nHeGyY0EqXTcMgS2VtrDP/7vJmVMHUVqaGfdzEWlAPzY8naSkkxaWH+0hf0ro\nWWODCVfoMbLGzRW0KckT38Ovw5vpfLALTfQecooqB2oHF1H8c4RajdkNUAQ/\nCRJDnAdpRPapWaWea6jvnVDG1fdCfXvSt24X4tv11r3LUIwRPRzhQ3tnYZ6p\nybsuAGm2EP/FTFWjYym/4slFeujTXCdp1wsU+51k2sRObcDGidy6D/2yTb+N\nk67kXltvt/q/Z3UzP27BPOQr+YI1hhMnlbzs76dR7wEzEO1qCU1+JQpafdvC\nSpJgewVjDde0ZmM1WX1AuDFaOIzbKPkr6f6vZb5nLnpnETocXZhTTjccH0PE\naJok\r\n=PSfj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+6OxNNGdkxA1exA/YGYXgcCjZoMyMZmZr8YViQLSR2gIhAKBM0noSzNxefjVLXTrPw2DOb7uJXKzV5JvhKvALsdhw"}]},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-serve_4.0.0_1617286926740_0.28875825233024255"},"_hasShrinkwrap":false}},"readme":"[tests]: \thttps://img.shields.io/circleci/project/github/shellscape/webpack-serve.svg\n[tests-url]: https://circleci.com/gh/shellscape/webpack-serve\n\n[cover]: https://codecov.io/gh/shellscape/webpack-serve/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/shellscape/webpack-serve\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-serve\n[size-url]: https://packagephobia.now.sh/result?p=webpack-serve\n\n[https]: https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener\n[http2]: https://nodejs.org/api/http2.html#http2_http2_createserver_options_onrequesthandler\n[http2tls]: https://nodejs.org/api/http2.html#http2_http2_createsecureserver_options_onrequesthandler\n\n<div align=\"center\">\n\t<img width=\"256\" src=\"https://raw.githubusercontent.com/shellscape/webpack-serve/master/assets/serve.svg?sanitize=true\" alt=\"webpack-serve\"><br/><br/>\n</div>\n\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![size][size]][size-url]\n\n# webpack-serve\n\nA CLI for [`webpack-plugin-serve`](https://github.com/shellscape/webpack-plugin-serve) - A Webpack development server in a plugin.\n\n_(While using a CLI such as webpack-serve is convenient, we recommend using [`webpack-plugin-serve`](https://github.com/shellscape/webpack-plugin-serve) directly in your webpack config, with [`webpack-nano`](https://github.com/shellscape/webpack-nano), instead.)_\n\n<a href=\"https://www.patreon.com/shellscape\">\n  <img src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\">\n</a>\n\n_Please consider donating if you find this project useful._\n\n## Requirements\n\n`webpack-serve` is an [evergreen 🌲](./.github/FAQ.md#what-does-evergreen-mean) module.\n\nThis module requires an [Active LTS](https://github.com/nodejs/Release) Node version (v8.0.0+ or v10.0.0+). The client scripts in this module require [browsers which support `async/await`](https://caniuse.com/#feat=async-functions). Users may also choose to compile the client script via an appropriately configured [Babel](https://babeljs.io/) webpack loader for use in older browsers.\n\n## Feature Parity\n\nSince this CLI leverages `webpack-plugin-serve`, the same feature parity information applies. Please see the [`webpack-plugin-serve` Feature Comparison](https://github.com/shellscape/webpack-plugin-serve/blob/HEAD/.github/FEATURES.md) for more information.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install webpack-serve --save-dev\n```\n\n## Usage\n\n```console\nA CLI for webpack-plugin-serve, providing a premier webpack development server\n\nUsage\n  $ webpack-serve [...options]\n\nOptions\n  --all               Apply webpack-plugin-serve to all compilers in the config\n  --client.address    Overrides the WebSocket address in the client\n  --client.retry      Instructs the client to attempt to reconnect all WebSockets when interrupted\n  --client.silent     Instructs the client not to log anything to the console.\n  --compress          Enables compression middleware which serves files with GZip compression.\n  --config            A path to a webpack config file\n  --config.{name}     A path to a webpack config file, and the config name to run\n  --help              Displays this message\n  --history-fallback  Enables History API Fallback\n  --hmr               Enables Hot Module Replacement. On by default\n  --host              Sets the host the server should listen from\n  --http2             Instructs the server to enable HTTP2\n  --live-reload       Instructs the client to perform a full page reload after each build\n  --no-watch          Does not apply \\`watch: true\\` to the config, allowing for greater customization\n  --open              Opens the default browser to the set host and port\n  --port              Sets the port on which the server should listen\n  --progress          Shows build progress in the client\n  --silent            Instruct the CLI to produce no console output\n  --static            Sets the directory from which static files will be served\n  --status            Shows build status (errors, warnings) in the client\n  --version           Displays webpack-nano and webpack versions\n  --wait-for-build    Instructs the server to halt middleware processing until the current build is done.\n\nExamples\n  $ webpack-serve\n  $ webpack-serve --help\n  $ webpack-serve --config webpack.config.js\n  $ webpack-serve --config.serve webpack.config.js\n```\n\n## Flags\n\nPlease reference the [`webpack-plugin-serve` Options](https://github.com/shellscape/webpack-plugin-serve#options) for information and use. Most options are analogous to the flags listed above.\n\n#### `--no-watch`\n\nBy default, the CLI will apply `watch: true` to the first config in the targeted webpack config file. To customize watching or `watchOptions`, please use this flag and customize the config(s) accordingly.\n\n## package.json Options\n\nFor convenience, `webpack-plugin-serve` options can also be defined in a `package.json` file. This CLI will look for a `serve` key in the nearest `package.json` beginning in the directory containing the specified `webpack.config.js`, up to the current working directory. Please reference the [`webpack-plugin-serve` Options](https://github.com/shellscape/webpack-plugin-serve#options) for information and use.\n\nFor Example:\n\n```json\n{\n\t\"name\": \"some-package\",\n\t\"version\": \"1.0.0\",\n\t\"serve\": {\n    \"host\": \"10.10.10.1\"\n  }\n}\n```\n\n## Advanced Options\n\nFor options which require providing functions or complex objects like `Promises` which cannot be represented by JSON, nor on the command line, please use [`webpack-plugin-serve`](https://github.com/shellscape/webpack-plugin-serve) directly in your webpack config, along with [`webpack-nano`](https://github.com/shellscape/webpack-nano).\n\n## Meta\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n[LICENSE (Mozilla Public License)](./LICENSE)\n","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"}],"time":{"modified":"2022-06-29T00:07:47.065Z","created":"2016-04-06T21:45:36.738Z","0.0.0":"2016-04-06T21:45:36.738Z","1.0.0-beta.1":"2018-02-12T04:28:52.996Z","0.1.0":"2018-02-21T18:52:28.050Z","0.1.1":"2018-02-21T18:55:42.090Z","0.1.2":"2018-02-22T13:45:13.767Z","0.1.3":"2018-02-22T16:25:43.554Z","0.1.4":"2018-02-23T13:26:17.604Z","0.1.5":"2018-02-28T14:43:02.757Z","0.2.0":"2018-03-06T19:52:28.797Z","0.3.0":"2018-03-28T00:13:39.700Z","0.3.1":"2018-03-31T15:13:38.443Z","0.3.2":"2018-05-01T03:30:02.098Z","1.0.0":"2018-05-13T01:37:14.588Z","1.0.1":"2018-05-13T01:47:31.959Z","1.0.2":"2018-05-13T11:51:34.385Z","1.0.3":"2018-06-07T02:55:29.264Z","1.0.4":"2018-06-08T00:06:17.781Z","2.0.0-beta.1":"2018-06-21T18:57:41.741Z","2.0.0-beta.2":"2018-06-26T12:53:10.102Z","2.0.0-beta.3":"2018-06-26T21:57:58.732Z","2.0.0-beta.4":"2018-06-28T14:09:15.367Z","2.0.0-beta.5":"2018-07-06T01:34:39.525Z","2.0.0-beta.6":"2018-07-07T01:58:44.383Z","2.0.0":"2018-07-09T12:53:58.696Z","2.0.1":"2018-07-09T16:33:45.610Z","2.0.2":"2018-07-09T23:59:43.397Z","2.0.3":"2018-11-20T14:32:58.325Z","3.0.0-beta.1":"2019-03-13T18:40:16.363Z","3.0.0-beta.2":"2019-03-14T15:56:56.244Z","3.0.0-beta.3":"2019-03-14T23:57:08.871Z","3.0.0":"2019-04-01T11:25:32.993Z","3.1.0":"2019-04-08T12:59:01.439Z","3.1.1":"2019-07-21T00:33:47.092Z","3.2.0":"2019-09-19T15:20:07.625Z","4.0.0":"2021-04-01T14:22:06.932Z"},"homepage":"https://github.com/shellscape/webpack-serve","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-serve.git"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"bugs":{"url":"https://github.com/shellscape/webpack-serve/issues"},"license":"MIT","readmeFilename":"README.md","users":{"centiball":true},"keywords":["development","devserver","serve","server","webpack"]}