{"_id":"@allesa/webpack-dev-server","_rev":"1-032cff365c659ae92a329f97747c5b5e","name":"@allesa/webpack-dev-server","dist-tags":{"latest":"3.11.3"},"versions":{"3.11.3":{"name":"@allesa/webpack-dev-server","version":"3.11.3","description":"Serves a webpack app. Updates the browser on changes.","bin":{"webpack-dev-server":"bin/webpack-dev-server.js"},"main":"lib/Server.js","engines":{"node":">= 6.11.5"},"scripts":{"lint:prettier":"prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different","lint:js":"eslint . --cache","lint":"npm-run-all -l -p \"lint:**\"","lint:type":"tsc --noEmit","commitlint":"commitlint --from=master","security":"npm audit","test:only":"jest --forceExit","test:coverage":"npm run test:only -- --coverage","test:watch":"npm run test:coverage --watch","test":"npm run test:coverage","pretest":"npm run lint","prepare":"rimraf ./ssl/*.pem && npm run build:client","build:client:default":"babel client-src/default --out-dir client --ignore \"./client-src/default/*.config.js\"","build:client:clients":"babel client-src/clients --out-dir client/clients","build:client:index":"webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js","build:client:live":"webpack ./client-src/live/index.js -o client/live.bundle.js --color --config client-src/live/webpack.config.js","build:client:sockjs":"webpack ./client-src/sockjs/index.js -o client/sockjs.bundle.js --color --config client-src/sockjs/webpack.config.js","build:client":"rimraf ./client/* && npm-run-all -s -l -p \"build:client:**\"","webpack-dev-server":"node examples/run-example.js","release":"standard-version"},"dependencies":{"ansi-html-community":"0.0.8","bonjour":"^3.5.0","chokidar":"^3.4.1","compression":"^1.7.4","connect-history-api-fallback":"^1.6.0","debug":"^4.1.1","del":"^4.1.1","express":"^4.17.1","html-entities":"^1.3.1","http-proxy-middleware":"0.19.1","import-local":"^2.0.0","internal-ip":"^4.3.0","ip":"^1.1.5","is-absolute-url":"^3.0.3","killable":"^1.0.1","loglevel":"^1.6.8","opn":"^5.5.0","p-retry":"^3.0.1","portfinder":"^1.0.26","schema-utils":"^1.0.0","selfsigned":"^1.10.8","semver":"^6.3.0","serve-index":"^1.9.1","sockjs":"^0.3.21","sockjs-client":"^1.5.0","spdy":"^4.0.2","strip-ansi":"^3.0.1","supports-color":"^6.1.0","url":"^0.11.0","webpack-dev-middleware":"^3.7.2","webpack-log":"^2.0.0","ws":"^6.2.1","yargs":"^13.3.2"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-transform-runtime":"^7.9.6","@babel/preset-env":"^7.9.6","@babel/runtime":"^7.9.6","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","babel-loader":"^8.1.0","body-parser":"^1.19.0","commitlint-azure-pipelines-cli":"^1.0.3","copy-webpack-plugin":"^5.1.1","css-loader":"^2.1.1","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.20.2","execa":"^1.0.0","file-loader":"^5.1.0","html-loader":"^0.5.5","html-webpack-plugin":"^3.2.0","husky":"^4.2.5","jest":"^24.9.0","jest-junit":"^10.0.0","jquery":"^3.5.1","less":"^3.11.1","less-loader":"^5.0.0","lint-staged":"^10.2.2","marked":"^0.8.2","memfs":"^3.1.2","npm-run-all":"^4.1.5","prettier":"^1.19.1","puppeteer":"^1.20.0","rimraf":"^3.0.2","standard-version":"^8.0.0","style-loader":"^1.2.1","supertest":"^4.0.2","tcp-port-used":"^1.0.1","typescript":"^3.8.3","url-loader":"^3.0.0","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"peerDependenciesMeta":{"webpack-cli":{"optional":true}},"publishConfig":{"access":"public"},"author":{"name":"Tobias Koppers @sokra"},"bugs":{"url":"https://github.com/webpack/webpack-dev-server/issues"},"homepage":"https://github.com/webpack/webpack-dev-server#readme","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-dev-server.git"},"license":"MIT","_id":"@allesa/webpack-dev-server@3.11.3","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-3VwD1eHpmLV+1KAFqD4bBRADBtIus7nVLFDYGJ+XYFNAVgf5oKww3dCQCNWSfFFz2qNwiIGEgHop6K1m87Fo0Q==","shasum":"b2a89d9f5e33858241d6f0d73158137df52d824b","tarball":"https://registry.npmjs.org/@allesa/webpack-dev-server/-/webpack-dev-server-3.11.3.tgz","fileCount":50,"unpackedSize":533473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwErsCRA9TVsSAnZWagAAkYcQAIBCNNUz8a7XZlcpZqSb\nNM3M7xnhvJsCCHFFtarnfUTzNp8EsJutv/bXwywJEqAlOvbe307yjDcYsVbt\ntGdi0AanoSUwzUI422fgYgwYyZtK/6iiSTQcZhRP5u7h5mtlRpbd2eBrmFiT\nyiw9Ken78IfvJmMPy6jQU89ljlByMhW1tizWBNPRqWWH4YBApCDy36GA39dB\nnJUyrNp4DobVzrKz6VAAJygE1RA4e6nmAxwABDOPMhOjoK3YipO2Vq/zEgUv\nMXwp/GuEo387HnBefxo8E2goj1TZzKWrnMBwETMpeYAldzwTlx05HDnPjrKH\n8HdhPk4vDe+mZFB0yLg/+PKEsRSpSgJO4oD4moRDd7i2jgIz2XPhbvEKjOF+\nm62wbiz6zty9yqqY2Qum1XP4xZDpn6p/uENEJVF2XxZzMNWnWMfoQNA50NEm\nXbid+h4ECds5IbGNquiab8gbmeu7LfpVpWEKK3mctXffSGgIihtRBXP7vL8N\nRhyZNoCTbiQXKdMzl1E/xoyR+qWBkT92tQS6Qw/KpkSfQ2bN3wggl5MZjxMQ\nGrLFzJF2usxEuyKuebmQSGpYGoBS9LPlRlWIdfoI9L4bVblTFMl2bp+E3wmR\nYp5vcBBsNq/f1BbKq1qTHvz8nAKUXkQiNXWJYtlkj/5McZLOnn8lbwrZJIuk\nIRpF\r\n=32Ve\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCg3wn456V4QN/Wd0/aIh9pmnwkR+eMYGRhELEw8LOgLgIhAOPR2qR4vLzr9rpLKJS66PLwfefn2wnOe1aNP+tIsYdU"}]},"_npmUser":{"name":"allesajiang","email":"1040237730@qq.com"},"directories":{},"maintainers":[{"name":"allesajiang","email":"1040237730@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-dev-server_3.11.3_1639992044440_0.05739072935632361"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-20T09:20:44.382Z","3.11.3":"2021-12-20T09:20:44.648Z","modified":"2022-04-04T13:32:10.307Z"},"maintainers":[{"name":"allesajiang","email":"1040237730@qq.com"}],"description":"Serves a webpack app. Updates the browser on changes.","homepage":"https://github.com/webpack/webpack-dev-server#readme","repository":{"type":"git","url":"git+https://github.com/webpack/webpack-dev-server.git"},"author":{"name":"Tobias Koppers @sokra"},"bugs":{"url":"https://github.com/webpack/webpack-dev-server/issues"},"license":"MIT","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[![downloads][downloads]][npm-url]\n[![contributors][contributors]][contributors-url]\n\n# webpack-dev-server\n\nUse [webpack](https://webpack.js.org) with a development server that provides\nlive reloading. This should be used for **development only**.\n\nIt uses [webpack-dev-middleware][middleware-url] under the hood, which provides\nfast in-memory access to the webpack assets.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n  - [With the CLI](#with-the-cli)\n  - [With NPM Scripts](#with-npm-scripts)\n  - [The Result](#the-result)\n- [Browser Support](#browser-support)\n- [Support](#support)\n- [Contributing](#contributing)\n- [Attribution](#attribution)\n- [License](#license)\n\n## Getting Started\n\nFirst things first, install the module:\n\n```console\nnpm install webpack-dev-server --save-dev\n```\n\n_Note: While you can install and run webpack-dev-server globally, we recommend\ninstalling it locally. webpack-dev-server will always use a local installation\nover a global one._\n\n## Usage\n\nThere are two main, recommended methods of using the module:\n\n### With the CLI\n\nThe easiest way to use it is with the CLI. In the directory where your\n`webpack.config.js` is, run:\n\n```console\nnode_modules/.bin/webpack-dev-server\n```\n\n_**Note**: Many CLI options are available with `webpack-dev-server`. Explore this [link](https://webpack.js.org/configuration/dev-server/)._\n\n### With NPM Scripts\n\nNPM package.json scripts are a convenient and useful means to run locally installed\nbinaries without having to be concerned about their full paths. Simply define a\nscript as such:\n\n```json\n\"scripts\": {\n  \"start:dev\": \"webpack-dev-server\"\n}\n```\n\nAnd run the following in your terminal/console:\n\n```console\nnpm run start:dev\n```\n\nNPM will automagically reference the binary in `node_modules` for you, and\nexecute the file or command.\n\n### The Result\n\nEither method will start a server instance and begin listening for connections\nfrom `localhost` on port `8080`.\n\nwebpack-dev-server is configured by default to support live-reload of files as\nyou edit your assets while the server is running.\n\nSee [**the documentation**][docs-url] for more use cases and options.\n\n## Browser Support\n\nWhile `webpack-dev-server` transpiles the client (browser) scripts to an ES5\nstate, the project only officially supports the _last two versions of major\nbrowsers_. We simply don't have the resources to support every whacky\nbrowser out there.\n\nIf you find a bug with an obscure / old browser, we would actively welcome a\nPull Request to resolve the bug.\n\n## Support\n\nWe do our best to keep Issues in the repository focused on bugs, features, and\nneeded modifications to the code for the module. Because of that, we ask users\nwith general support, \"how-to\", or \"why isn't this working\" questions to try one\nof the other support channels that are available.\n\nYour first-stop-shop for support for webpack-dev-server should by the excellent\n[documentation][docs-url] for the module. If you see an opportunity for improvement\nof those docs, please head over to the [webpack.js.org repo][wjo-url] and open a\npull request.\n\nFrom there, we encourage users to visit the [webpack Gitter chat][chat-url] and\ntalk to the fine folks there. If your quest for answers comes up dry in chat,\nhead over to [StackOverflow][stack-url] and do a quick search or open a new\nquestion. Remember; It's always much easier to answer questions that include your\n`webpack.config.js` and relevant files!\n\nIf you're twitter-savvy you can tweet [#webpack][hash-url] with your question\nand someone should be able to reach out and lend a hand.\n\nIf you have discovered a :bug:, have a feature suggestion, or would like to see\na modification, please feel free to create an issue on Github. _Note: The issue\ntemplate isn't optional, so please be sure not to remove it, and please fill it\nout completely._\n\n## Contributing\n\nWe welcome your contributions! Please have a read of [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to get involved.\n\n## Attribution\n\nThis project is heavily inspired by [peerigon/nof5](https://github.com/peerigon/nof5).\n\n## License\n\n#### [MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/webpack-dev-server.svg\n[npm-url]: https://npmjs.com/package/webpack-dev-server\n[node]: https://img.shields.io/node/v/webpack-dev-server.svg\n[node-url]: https://nodejs.org\n[deps]: https://david-dm.org/webpack/webpack-dev-server.svg\n[deps-url]: https://david-dm.org/webpack/webpack-dev-server\n[tests]: https://dev.azure.com/webpack/webpack-dev-server/_apis/build/status/webpack.webpack-dev-server?branchName=master\n[tests-url]: https://dev.azure.com/webpack/webpack-dev-server/_build/latest?definitionId=7&branchName=master\n[cover]: https://codecov.io/gh/webpack/webpack-dev-server/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack/webpack-dev-server\n[chat]: https://badges.gitter.im/webpack/webpack.svg\n[chat-url]: https://gitter.im/webpack/webpack\n[docs-url]: https://webpack.js.org/configuration/dev-server/#devserver\n[hash-url]: https://twitter.com/search?q=webpack\n[middleware-url]: https://github.com/webpack/webpack-dev-middleware\n[stack-url]: https://stackoverflow.com/questions/tagged/webpack-dev-server\n[uglify-url]: https://github.com/webpack-contrib/uglifyjs-webpack-plugin\n[wjo-url]: https://github.com/webpack/webpack.js.org\n[downloads]: https://img.shields.io/npm/dm/webpack-dev-server.svg\n[contributors-url]: https://github.com/webpack/webpack-dev-server/graphs/contributors\n[contributors]: https://img.shields.io/github/contributors/webpack/webpack-dev-server.svg\n","readmeFilename":"README.md"}