{"_id":"beidou-webpack","_rev":"39-d60aa731fb62e05cae43b69dca5ff3ad","name":"beidou-webpack","dist-tags":{"latest":"2.3.0","next":"2.0.0-beta.0"},"versions":{"1.0.0-alpha.1":{"name":"beidou-webpack","version":"1.0.0-alpha.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","dependencies":{"autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-alpha.1","babel-preset-beidou-server":"^1.0.0-alpha.1","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","koa-webpack-dev-middleware":"^1.2.1","koa-webpack-hot-middleware":"^1.0.3","lodash":"^4.17.4","memory-fs":"^0.4.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","sdk-base":"^2.0.1","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-middleware":"^1.11.0","webpack-dev-server":"^2.10.1","webpack-merge":"^4.1.1"},"devDependencies":{"autod":"2","chai":"^4.0.2","classnames":"^2.2.5","egg":"^2.2.0","egg-bin":"^4.0.0","egg-mock":"^3.7.1","file-loader":"^1.1.6","react":"^16.2.0","react-dom":"^16.2.0","rimraf":"^2.6.1","should":"8","supertest":"1"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","ci":"npm run cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"_id":"beidou-webpack@1.0.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-avnWIOjCOUtavnDHlnW+vph51bw8Jt253kBonQKwOPT1MbgkhmuLjIYVmFGCxftVTJakuNqLdUDkWwYGeuOJ6Q==","shasum":"3338e68deba2ce922f47a7bab2e6f7e97437e2e6","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-alpha.1.tgz","fileCount":14,"unpackedSize":24479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8DJCAc56zk4rJLGPSYKB/V0+VeP6FULZ9ej/k/OtafQIhANC1XDqs1v87FGdXVmaWck8jWv6EfDRYdkkrfDLB3+gY"}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-alpha.1_1518142301893_0.2943501111075133"},"_hasShrinkwrap":false},"1.0.0-alpha.2":{"name":"beidou-webpack","version":"1.0.0-alpha.2","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","dependencies":{"autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-alpha.2","babel-preset-beidou-server":"^1.0.0-alpha.2","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","koa-webpack-dev-middleware":"^1.2.1","koa-webpack-hot-middleware":"^1.0.3","lodash":"^4.17.4","memory-fs":"^0.4.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","sdk-base":"^2.0.1","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-middleware":"^1.11.0","webpack-dev-server":"^2.10.1","webpack-merge":"^4.1.1"},"devDependencies":{"autod":"2","chai":"^4.0.2","classnames":"^2.2.5","egg":"^2.2.0","egg-bin":"^4.0.0","egg-mock":"^3.7.1","file-loader":"^1.1.6","react":"^16.2.0","react-dom":"^16.2.0","rimraf":"^2.6.1","should":"8","supertest":"1"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","ci":"npm run cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"_id":"beidou-webpack@1.0.0-alpha.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-2qsNOpgs78FQTWMfpXKihq2Oxz8eo/1JvNnxMZvfWPSM/a0MTVFuS3rjjNCx/TxMcrlqE+GJzxNdOJmhO+ia+Q==","shasum":"56936b5decbd7a071eef9934375b5c52391e0e87","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-alpha.2.tgz","fileCount":14,"unpackedSize":24523,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjYsLZTohXS9vHG/UZinVVj4NECq6W3cyaUtndkY8gFwIgIuZg2jNuU7l1fdB5uA554uYhRp0dRkuiH/SOA7D8vxQ="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-alpha.2_1518145433260_0.9943257365309413"},"_hasShrinkwrap":false},"1.0.0-alpha.3":{"name":"beidou-webpack","version":"1.0.0-alpha.3","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-alpha.3","babel-preset-beidou-server":"^1.0.0-alpha.3","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","glob":"^7.1.2","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1","webpack-merge":"^4.1.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","ci":"npm run cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n### Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n\n### Configuration\n\n* config/plugin.default.js:\n\n```\nexports.webpack = {\n    enable: true,\n    package: 'beidou-webpack',\n    env: ['local', 'unittest']\n  }\n```\n\n* config/config.local.js\n\n```\nexports.webpack = {\n    //[optional] default to 'beidou-webpack/config/webpack.browser.js'\n    defaultConfig: 'path of webpack config',\n    //[optional] the path of request should be transfered to webpack. e.g HMR: /__webpack_hmr\n    path: [],\n    //[optional]\n    noInfo: false,\n    //[optional]\n    quiet: false,\n    //[optional]\n    lazy: false,\n    //[optional]\n    watchOptions: {\n        aggregateTimeout: 300,\n        poll: true,\n    },\n    //[optional]\n    headers: { 'X-Custom-Header': 'yes' },\n    //[optional]\n    stats: {\n        colors: true,\n        chunks: false,\n    },\n    //[optional]\n    defaultEntryName: 'index.jsx',\n    //[optional]\n    outputPath: './build',\n    //[optional]\n    publicPath: '/build',\n    //[optional] hot module replacement config\n    hmr: {\n        path: '__webpack_hmr',\n        timeout: '20000',\n        heartbeat: '10000',\n    }\n};\n```\n\n### License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-webpack@1.0.0-alpha.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-dcz7qVibc/dcYtPiK8K5LcOrz5rm8dL902VWumUm15N3Mew1sbYL7HSc3uPj6N//gojMxUvZ4Q8c9wARGlSWMg==","shasum":"632fda88b96fa94b4160d459c2f1a59d8f0d15a1","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-alpha.3.tgz","fileCount":15,"unpackedSize":25576,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDweRKxumj62Xx2i2GuvjgYP5/7ofhPF0LWLh5yVvpjkAiEA+F+CLkoLiZ+zlZlEiq9IivAT/CeF1uVIF8mC576YIJU="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-alpha.3_1518432722640_0.4032219102795549"},"_hasShrinkwrap":false},"1.0.0-alpha.4":{"name":"beidou-webpack","version":"1.0.0-alpha.4","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-alpha.4","babel-preset-beidou-server":"^1.0.0-alpha.4","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","glob":"^7.1.2","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1","webpack-merge":"^4.1.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.3"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n\n## Configuration\n\n* config/plugin.default.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.local.js\n\n```js\nexports.webpack = {\n  //[optional] default to 'beidou-webpack/config/webpack.browser.js'\n  defaultConfig: 'path of webpack config',\n  //[optional] the path of request should be transferrer to webpack. e.g HMR: /__webpack_hmr\n  path: [],\n  //[optional]\n  noInfo: false,\n  //[optional]\n  quiet: false,\n  //[optional]\n  lazy: false,\n  //[optional]\n  watchOptions: {\n    aggregateTimeout: 300,\n    poll: true,\n  },\n  //[optional]\n  headers: { 'X-Custom-Header': 'yes' },\n  //[optional]\n  stats: {\n    colors: true,\n    chunks: false,\n  },\n  //[optional]\n  defaultEntryName: 'index.jsx',\n  //[optional]\n  outputPath: './build',\n  //[optional]\n  publicPath: '/build',\n  //[optional] hot module replacement config\n  hmr: {\n    path: '__webpack_hmr',\n    timeout: '20000',\n    heartbeat: '10000',\n  },\n};\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-webpack@1.0.0-alpha.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-hYuf9gNv15OibCX//9UQ/S/jo80qtqmZVDHmfIVhWIl5a7QLhi7jFVj8R0lX3UwIWAT5K5n9XNbN7Dc/L6Z1yA==","shasum":"456f7bfd3e0245545bca66358f506cdbfad1b74a","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-alpha.4.tgz","fileCount":15,"unpackedSize":25914,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKZxiO0vX1fBtMgKrgt6V8eWAxUXbTE5gsgBTbsuQVzQIgGmdIW9/+p2AK+UwaCb+d/zjwC+90SmH11rqCvToBGxk="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-alpha.4_1519471499958_0.9499387133463868"},"_hasShrinkwrap":false},"1.0.0-alpha.5":{"name":"beidou-webpack","version":"1.0.0-alpha.5","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-alpha.5","babel-preset-beidou-server":"^1.0.0-alpha.5","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","glob":"^7.1.2","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1","webpack-merge":"^4.1.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.4"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n\n## Configuration\n\n* config/plugin.default.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.local.js\n\n```js\nexports.webpack = {\n  //[optional] default to 'beidou-webpack/config/webpack.browser.js'\n  defaultConfig: 'path of webpack config',\n  //[optional] the path of request should be transferrer to webpack. e.g HMR: /__webpack_hmr\n  path: [],\n  //[optional]\n  noInfo: false,\n  //[optional]\n  quiet: false,\n  //[optional]\n  lazy: false,\n  //[optional]\n  watchOptions: {\n    aggregateTimeout: 300,\n    poll: true,\n  },\n  //[optional]\n  headers: { 'X-Custom-Header': 'yes' },\n  //[optional]\n  stats: {\n    colors: true,\n    chunks: false,\n  },\n  //[optional]\n  defaultEntryName: 'index.jsx',\n  //[optional]\n  outputPath: './build',\n  //[optional]\n  publicPath: '/build',\n  //[optional] hot module replacement config\n  hmr: {\n    path: '__webpack_hmr',\n    timeout: '20000',\n    heartbeat: '10000',\n  },\n};\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-webpack@1.0.0-alpha.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-b1+1XlZEjvKnYDX/ZrSBUMmUZL+uZxIemmsl2ImPLTbAhn2oLbuxIn7/Fc0eQGR2PRRCN4qe6dBK+9Mr6hJUSw==","shasum":"908a4aef50f2dfd6675f4f02b550b1d7789f3b95","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-alpha.5.tgz","fileCount":15,"unpackedSize":25682,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYNnpgSnfEQmzmgKimzfNAtZQXyX91Su4AQsyAs/9fcAIhAMatFUVosskyV71VukF1ug4qqGVh8vK/6jdMgGAZe9ht"}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-alpha.5_1519896572811_0.3082361084401435"},"_hasShrinkwrap":false},"1.0.0-beta.0":{"name":"beidou-webpack","version":"1.0.0-beta.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-beta.0","babel-preset-beidou-server":"^1.0.0-beta.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.5"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readmeFilename":"README.md","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n* Fast restart immediately support\n* Custom config support\n\n## Breaking Changes\n\n* Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n* config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n* **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n* **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n```\n\n* **app**: the `BeidouApplication` instance, usually used to access server config.\n\n* **defaultConfig**: default webpack config generated by beidou-webpack.\n\n* **dev**: `true` in local environment or `false` in production.\n\n* **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n* **router.root**: the directory scanning begin at.\n* **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)\n","license":"MIT*","_id":"beidou-webpack@1.0.0-beta.0","dist":{"shasum":"5b1ddcb83875c4c2e6b9b73b8b493076c03f5595","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-beta.0.tgz","fileCount":64,"unpackedSize":37224,"integrity":"sha512-cJzp+beOL7jWABo8zn/xi1456er3/Qe6i7uPAf58zf3G495PH6Af2IdvduVROb8iU01HUz0N2EJVNbbB+beraQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpe9BSB0uKzc/hvH/2m3cSkJFUOC2cKMSUZPFssvL/EAiAb7RCJEpVbimppfkCJmyC9XwSrnh5LEIkYEh4RZPXXqA=="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-beta.0_1520595361496_0.37046844376003674"},"_hasShrinkwrap":false},"1.0.0-beta.1":{"name":"beidou-webpack","version":"1.0.0-beta.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-beta.1","babel-preset-beidou-server":"^1.0.0-beta.1","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.5"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readmeFilename":"README.md","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n* Fast restart immediately support\n* Custom config support\n\n## Breaking Changes\n\n* Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n* config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n* **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n* **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n```\n\n* **app**: the `BeidouApplication` instance, usually used to access server config.\n\n* **defaultConfig**: default webpack config generated by beidou-webpack.\n\n* **dev**: `true` in local environment or `false` in production.\n\n* **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n* **router.root**: the directory scanning begin at.\n* **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)\n","license":"MIT*","_id":"beidou-webpack@1.0.0-beta.1","dist":{"shasum":"fdc9fabc1eccb721a33ef37dff57af763a20f444","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-beta.1.tgz","fileCount":64,"unpackedSize":37224,"integrity":"sha512-NRcLt63f1xgYZBG6OifpS+JAn8xy0ViPqDufhpRwsymYCqEG+bYvYZ8CpWt72ZBV2FzkpsAog6YSjDnvIWJVMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUrXanc/Oz20su6mUwxY7rnNC8+t27xQVXGbvjJRnAugIhAIY41tkbm9kXl0NgR6SnGogIwKn/pYRb+04PumJoIt21"}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-beta.1_1520597528545_0.6852850114352007"},"_hasShrinkwrap":false},"1.0.0-beta.2":{"name":"beidou-webpack","version":"1.0.0-beta.2","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-beta.2","babel-preset-beidou-server":"^1.0.0-beta.2","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-alpha.5"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readmeFilename":"README.md","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n* Fast restart immediately support\n* Custom config support\n\n## Breaking Changes\n\n* Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n* config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n* **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n* **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n```\n\n* **app**: the `BeidouApplication` instance, usually used to access server config.\n\n* **defaultConfig**: default webpack config generated by beidou-webpack.\n\n* **dev**: `true` in local environment or `false` in production.\n\n* **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n* **router.root**: the directory scanning begin at.\n* **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)\n","license":"MIT*","_id":"beidou-webpack@1.0.0-beta.2","dist":{"shasum":"cbfbb15565cb0259c7ac6b5c5d8256e19b1dc392","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-beta.2.tgz","fileCount":64,"unpackedSize":37224,"integrity":"sha512-vagNdYrkQODz5Sfoi1UoLg4Hm5xYS3uMAS9KE4XnTVKLtcs6+yNg/PiQC498jLb+vnrdUoa34o1fduzm//pO4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+QdKLhyn+eE7xl7weiEs54YDG/N3hbHyxSceffB2i1AIgfZEpt30v9/rRcf0NnT4WgL3Pp+vHMMxlO6FRC975mvM="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-beta.2_1521081335078_0.47473947131075733"},"_hasShrinkwrap":false},"1.0.0-beta.3":{"name":"beidou-webpack","version":"1.0.0-beta.3","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0-beta.3","babel-preset-beidou-server":"^1.0.0-beta.3","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"_id":"beidou-webpack@1.0.0-beta.3","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-KrhjbQtKc9eyVsJn1FbW16iI++6Ylys+6ZVFaS/W5VPfhb1FzrgnRJcuLOlQuEpIatWdLVOQCfwM1Fj2A6Go8A==","shasum":"f69c41a5dfc595787c6313ce0d180ebfe3ce1678","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0-beta.3.tgz","fileCount":16,"unpackedSize":33290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuLE+SYVVAuEd0lX9i0Ebxi9DXg9pFfp7l8OdG1DVDlAiEA23If7Gw9GM5X9+SYMdd15Y4TVAFQOlUOws3H2U4VVqk="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0-beta.3_1521685158890_0.5967482280122525"},"_hasShrinkwrap":false},"1.0.0":{"name":"beidou-webpack","version":"1.0.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0","babel-preset-beidou-server":"^1.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.0","dist":{"shasum":"91a6288f79bbdc60240cc3f41aedb450f7b2a3f2","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.0.tgz","fileCount":64,"unpackedSize":37453,"integrity":"sha512-08LrmhGVoHcioelGClKnviWEn0meZW+JYOiqJA0dPtbJsGCuYiio7GgZOBsfNr9Nwz3Ng2GuiaV/ZkkvsoVGZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjK/wuoGiArLBj41w8kiw18GnmnYqFwW1Zovf9H+O0WwIhALC6WrwGGe/Ajdo7EEbpLMTqgskCMFiNtPSNbkyiKCog"}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.0_1521787383100_0.14224682199090677"},"_hasShrinkwrap":false},"1.0.2":{"name":"beidou-webpack","version":"1.0.2","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0","babel-preset-beidou-server":"^1.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.2","dist":{"shasum":"625760e1bdf8368d58904f8c6ce6489c58d584f6","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.2.tgz","fileCount":58,"unpackedSize":37549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1IXnCRA9TVsSAnZWagAASlkP/iPzlQ+kSJO3b3V8RNgI\navwlVtfcaD+c55h8IPH8rOnAokQ5n74MqVHDZAeKVHx7mn3+X5P8Kij6Z2oI\ndVXB1ZPB+c1pMFpJUQFwWx2DCybzzkkDNyiMhd+oPHdUYYJdID9ScnPOJixS\nv6c8jX+MhNgvicrkcr0WWFABKf5Vra71Xc05dgAvu+xNMnkgaSDd8n7J39fK\nyRAnJSumMa26WJIIUrnlXAJPjDyKIKxytSrMsWi2mhOJTn59WIu7vskxn9P9\nanK+dwdFZNWt7GDZlcxqN+YYJ4sO1C38+jr8yUXwBQEV98bkf+lMLoF36dbK\nTaefhgrkcxxcFnquNnCCTIkm0KqJAZAQFoQl8/pJT03pSOJhtV8xy0JdAEtM\nvJfpwRNzEh4CHiucxSysaJO7aN6QtN0wy23LGM6JIlwJBwSa+UPQJeKM1y1b\n/HTcteMP8lepOT5mW88QL5sj6YQUt+Mop3+wS3ivrvmdVHxuq0hb2MTmWZ9r\nL+Ikach11wkIcQrD+3zrRIVfEeB/F+Ydoivyr3MJpXaRaTQsx3rq+wPuB1pu\nZ9tNQw4ggbSHF6AXqmHwCn2sUZGWkTZqNTuDlzLu6cEjIG4+/tG+k83d2cGO\nuq5ROmcXrL25512KqRP+Xv5c+DW+e3kOnyMOJpp8TfDbLImdXkra4+hzrPN+\n0zG/\r\n=1Ixc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-DXskR/9oRl2TSjPFDqYbcpXOitbtTJRgQhJmRcowD0EwdGUcUyGUCYwCq8BXnl5Q49gZAzHc5u5ElFWJOPXX3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAper49DhEzRCLsah6tKfJ+FSQZvsIoU5rQX5M+CsNzTAiEAkRqa4kp4zRvNKV91aw5UK3mzTq8ETrZM+PAFc3hh6wQ="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.2_1523877350551_0.9371179753687338"},"_hasShrinkwrap":false},"1.0.4":{"name":"beidou-webpack","version":"1.0.4","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0","babel-preset-beidou-server":"^1.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.4","dist":{"shasum":"0aaa41c91f8a4ed6ea635069f16a57d1231167b3","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.4.tgz","fileCount":58,"unpackedSize":37553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4yZUCRA9TVsSAnZWagAAI+4P/jUHZICOWhRBzL+p78c9\nwjX80cXPECibCzS9xiXAQ4626Qhy/sgbSXn/QupBy0I7HkmjVanuHviPn+Ku\nW+5BuxB4UGbHlqgzq8sLKkusEyjR8c1/qjGsNI6moSAA9bCkdkbWIYWcQ4FX\ncMexJYVuuRR93EbTpqgoNMEqt1pwiidz9YCLHXVwARwC+uUG5CubpXATD8Lv\nwlj6fgW4QD7G72DAO55uzqjxZwS4j3KSyy93HwR2JNl/2vRD6OW42dYNyZPW\nomnx/SRJ9g5UnyoThotpg6ZDYiun2dvPdwX5k4j6/wUgvkI/12GnlA+OZOrT\nPmBH8pQEX9GvWA5baGmxnWUZSy2FhjFWJghfK6qel/R/pPiaNe4KIuvWUjci\nmv+c6p23UC9UUJ+fmwBSeuk/hht5N2Vk8OfMbv5S8qkmN7B8fZiYNFYBTlLW\nDTWy3rLkg/sTGjCdb/J1NtS+ldIbB26kO3OGZnqG1zhJYnC8BsehBEU8t17I\niTeXKwcG3gATmTZg8rB5VXVL2vUye5DqZA4oQ3i1dQnVlNgbF8O5zn/UpGBO\nxIioGvO46UQLR9aRpRLoDigTfg3olzjV0WHAO9Ah7uohu2z462TQ8Ka0fj6n\n75Hu5KXFgPtR6yvXvLFwSxgtO4dHJlGD1eKHuASY4po0/tjDTljhXataewSL\n5BYY\r\n=HMQP\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-FqVEshUKOaOMNtvD+lalak1UfGRTGWQYAhfIQ8+MHdatna4WGeg/5cFWxAh9Bj7GUJtNRI0wlos+aYGS6o8Xmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDN/GjEM0k5JQrT7u8nV+QATts/PGvv9w2rfycEFOoNAiEA2wP6c5PfJ+bQt5S5z/e8xxpwCKqsSoEmSgMcaQ3Uggo="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.4_1524835923722_0.8529661572783123"},"_hasShrinkwrap":false},"1.0.6":{"name":"beidou-webpack","version":"1.0.6","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0","babel-preset-beidou-server":"^1.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.6","dist":{"shasum":"2789bcc852ba8bb822365b9606d0f6b3441389f1","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.6.tgz","fileCount":58,"unpackedSize":37789,"integrity":"sha512-ayN7DWLVYWbpJk8y8Ymckz7s1tg1/r1HaphJOQbs7pbTL+ctuzTeMn7ye+swo5+vJmr5xHEUstpMYUO5a7wjLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2i7eBlzhnI7QjxMSgi7tyKjJUyGGaDOBT3BhJJlX1wAiEAjdc7XGyI33lltqodvSU6deBfJMvWelNJmzJ3+HkoGoI="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.6_1533095429467_0.1539474056392105"},"_hasShrinkwrap":false},"1.0.7":{"name":"beidou-webpack","version":"1.0.7","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.0","babel-preset-beidou-server":"^1.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.7","dist":{"shasum":"b394c39ba48fc2634ab2dd4ad5b1fe32f602cebd","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.7.tgz","fileCount":58,"unpackedSize":37908,"integrity":"sha512-SONE349udB9WVcrbZy/skhNwUt0WgECT5rOBLq3ycrvxs5wFyLLkUefR49gMF263MB1KzEAVWCtj8QdQZOvn3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1nmjTqZ1S4egxZj+Dl56ONoolPA5Tye+/0t2Q9DFKUAIgAL47O6mzJjlOOG+p1m7osIpAOaFFwEqMx2C4rbR9eBc="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.7_1533114589904_0.3684503960398098"},"_hasShrinkwrap":false},"1.0.8":{"name":"beidou-webpack","version":"1.0.8","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.8","babel-preset-beidou-server":"^1.0.8","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"files":["bin","app","lib","config","app.js","agent.js","index.js"],"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.8","dist":{"shasum":"c9dab16f9ad446214d773b673eba9e2d4d3856ae","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.8.tgz","integrity":"sha512-v3Tee2VOe46hfGX2phdokOFwcxmxpBXHzkX+wsnI2T8R2qqLEQceK/ipAI3w/OAUNF7B4ofLscVQWSqSp9J4fw==","fileCount":59,"unpackedSize":38797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbrIuCRA9TVsSAnZWagAANgEP/iNpo/Y1lhv2xtbfDT5B\n6+Lhg2ODfNdfmIohKpNHC/M8QM0Hhw67J+VWg2E5rhGoY/cA44P5MTrceSr8\nIRZEePiWeCNWuWx+EejHMrL6ivJYbc3xy1QU83DuGdZcPu5wpZMIiGzow1KY\nUjlwE4sCvkMg9uPcH0XbeuGOx07x+HgHPGQL1U98QtfDrJOeluemuiCm0aQL\ncSpMFCH0ZjdiD3oIA/ZE7YBsIicOWihA6c0z3Gp+6lIkUMilIpheIKhD3KyF\nijjBWlM8tecYtMPteaUWjnaub1O5Agr31SPGD3BhJUlfl7ZnqlREalnI5BEz\nrmCMNmK2gwetyiJlDP4dRkfzLUz7pVJ73HktE7eJlKHbmjf/U1dYTXZcx5IZ\nkqaLhgMV5poxMjNNv/pZ+BLFR61Sf+zrfiovrwmwlJ+LiYE/JFvSQMpBiJ8y\njUyQ9iYRidiZua85gbwz2yxGzfoz+mEWkwSyOlaX6sFMNptHsjAE2Nf18dEg\nCE4nPOFrkpAtCgQcOVdf1UCEchlcHf1/wrzeTRskylYtJ0HxnI6gLxxERFfJ\nf6epzcu+S6Pn/pySL+6iFowsxMXAOhKu7QKmvcNxppOV6LpSlr6EKfzHh/AF\ngWwKcMOJ7FtD9/+kggjUrW0haNqXs1NSz7s+YD/HucWqPYZbUZyqIEy6+p8S\nnGkN\r\n=Argj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFx8qL/HL84k9uswIia27yZh7I0WpOC1KjU5cK/p/MjAiBg8MHCavlcCXw6xom1WvUsHbFYtshi01MzVc41KO+sSA=="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.8_1533981229756_0.19079935324869557"},"_hasShrinkwrap":false},"1.0.9":{"name":"beidou-webpack","version":"1.0.9","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.0.9","babel-preset-beidou-server":"^1.0.9","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.0.9","dist":{"shasum":"c6c7188caf78e0a559ff628acd063faca2a099a5","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.0.9.tgz","integrity":"sha512-hMRjpMND5grUUiP7BWESVkyIDZO5Dstnpmwa9SglSADvlrY8mlYAIwFI4Vcp3hyGtw3y1OH+VxbqsqAIakQ3mg==","fileCount":65,"unpackedSize":38997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn0+LCRA9TVsSAnZWagAALkYP/2+DrhWOBwiWp8Rf23yo\n+nHbooXUEdes7FQDwiNDEPpW/VcU6Ujr2B+6rPcint0l2x3duVqi5cLDnj9+\nCJB5mcaiAoOfggb2sUng00NemFoqQBGX64q6eznLS1wSiUxSh+xLsE8xw0nP\nTOLxCBwcqccuT0mfBBzfmo3c18rv6ao6In9Sp3hhFwpV+RFK6o4mpXhqyN0W\npryftDb55YQAMw5QSPng4bL34bPjKTJRSlcAEexxi/iFDmdRov4Btr7e7ZDh\nBoaRghvem0hYToH7xkzWdKiP3XDZtDSKlCCzBFFje4um1YaCHdn6RN+fq7N0\n1Oelz9N2I5mESTEV7AHkdXQQD8pIrJyXsJrJLn3zJRlnJxJhva2d9joMDigs\nuYlbPVfsKDRSRVtji+CXmwwth6xJXvjCRbFOHOT+sbQpLyEAihFMT22248M2\n//q5Im4ordI9gs+R4GhkK5MWc+/KgZhWWSWhExKE9/7xxqViVYr8qaTF9dmy\nPxwZG1Lha47dGVhRAr6wpWSra6YS0drPlbnt4qtG+NHCPZJht+te7hlY7mp5\nWaDVHNtBM3s+Lc61INwNPJAmdbbppaInW1SqqunK6DlEn2Z0wk5xBq/Px+O5\nTvh1HvqnFoCoUKiUQWdatgcYRWIDqwy6CkYlZYWwkigAYc8qFez78i0vruox\nFrbK\r\n=zrip\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqqvgJxtr5aeXrN9V/jGPnIZV+k7+ezFMoWQ5Y/2VrkAIgOdSfICxhj2GXM6i+yztbvt1ZaZWohK2ynEDR32X5Dc4="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.0.9_1537167243210_0.06182794695722915"},"_hasShrinkwrap":false},"1.1.0":{"name":"beidou-webpack","version":"1.1.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.1.0","babel-preset-beidou-server":"^1.1.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.1.0","dist":{"shasum":"f5b63eddbdaec0a72972dc830544ce44c6b9dd4a","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.1.0.tgz","integrity":"sha512-nRsjWJR5COms5ls/jLZP1R7DiRtcaIKkEMpI7UkVs0VyZZROWCa5XMPla90/VfeUbSqpNFo/dssc3LrnHnC0SQ==","fileCount":54,"unpackedSize":39197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGH2ZCRA9TVsSAnZWagAAJdcP/3/nij8EY57Ep0MTNxDS\nAkQ29fTyf4KiF+wgwsO3AzjG4GfgU+tR17okapz/5HGFnk4pbeeNO2Lsz3bf\n0so8V3Iqell3f7tflOPMNHXgzAEyJ1I47hNTht8w3QV3r05CryFHwH/yFqYX\ndtHmRPKYiF7AGKBda/zrWaMvgi/5stYgcuEQsy4Bd+XmDYtr/QuiLOJ88Fsd\nIves0tA8d3WXaB8Xfdfaloz6jlWGUVoMvJQ6niX5jJiw3995aUO7KHT2Yx1i\nYDaCnzOnPw5K1S9MmDcpWwX/q0Bbh629v/3ech0+q8ZwAQZVK1zsqTf6JtMd\ntjE9ERnpWMYXsX18krQsczWoVvemuV+Y/WKSoL2b/TEsU1wGZur2Yr8Sz0BG\nvUVMApDykKso7T/k5TYC4osjaEaK+9ii53DOULseSjL+OhugcrHA5rlTga7z\neI1Y+1G9nCZ6Vh0lOw2C0c5EFJ3L79ac1DSHt7a/CRoeoI0hCQUVXQVUjvH8\n6nnwECWeSE5OLs2zpFyk0+0uDbBZiGK9j+E0qK7SevRLrPjGFOKbqVeB8gCk\npY90zMagKCxHoKrWVB9excDxJZduO4UsHEvIcV/xsNVWYKhsm1I01BZWggaj\nGFSPkBpja4Erbjg8BJ7ACl/6w6nO51qnwF3xy70pirs2Tvs8QS+nh9SA6QY4\nmg+K\r\n=OWUc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzsIP4d70EIXyRjXBIYlnwQXsY0HZ10+suN94/6hNucAiAyte4dgnZboc3K+xYZH8DTurWmMlUorxKrMEnJ0wbZeA=="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.1.0_1545108888625_0.633195261959344"},"_hasShrinkwrap":false},"1.2.0":{"name":"beidou-webpack","version":"1.2.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.1.0","babel-preset-beidou-server":"^1.1.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.2.0","dist":{"shasum":"50c00e8aeb59afeeb76ccf8927674152984ef4ea","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.2.0.tgz","integrity":"sha512-qVbxSQgyXJfQZatQqGE590lBUwRZh56TEw73zzeHeyqGpmCRm9uxr93B5QXbzq8jgpzX9T0VgxVcUezs7LJmgQ==","fileCount":69,"unpackedSize":63092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIyKXCRA9TVsSAnZWagAAPdcP/17FsIt1pfncBQY5NMr+\nnN4J9GkLLsJ8uZ69BUf2RqwTaD32tagwpzlaHIQqJUn4cWsNkHWtPL4vnE2J\nBcyBe7zXvszlSEx4tB2E77knVX50oSrmcY92oYnBR/yUXk9NRr64k2IYd1EP\nvQrO5dpfQrCkBWkVpyQDpQvS8b8O6aPpWRSRMNaJvJNXfl58SLkhmivILG5P\nc/Bzziu0NRf3Zed+T0yIAZ5ODb0Tn4FHCSS4D9TirLcRuMs9T+fqi4W9faPs\n8o2hdc5yrUFqD1Njad+BrV//sRldI7NuXHiei+soAuZuO0/yMiAYU2wBvsFE\ndkJoWC+K5277Tj64mku1cVwJqI/Sb1zoF0y3DKrxfII9MYBld4AZQEReMpfl\nSpNQBDTQWnZfjlzoZKjdryaneyHFFDURVWM4KsVj7x7+kDrUR5vqLAQuRzB4\nOviDG6H2u+z6pCzI1c9pygmRtqJ9z7NIW0IhOr+HZyr4cL+C3GvC7EOuOrNd\nA4QSfLDdB+IhFywxQm21pGp/gR9HRX/IbV3VaSK45rEibLW/KJ/ErhH3JIxw\ncqvrlJOmUYIBVJQXBXYmccRePXJe8qf6Qgn76Rr/bPtufEO12YeiFPrk2zFg\nJHM3aqCRq65bgJ/NMFryiBQmVylB+hjDmBOlzSa41MXJltXcSA85GUaDpOHp\nAqJA\r\n=3Gbc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPeev75mt0p0KHNLc+RyiO3oKUuBC3b6Us9VpbBfOb7AiAvamBpbFGvkOk8h3NT3NYjUhPFrq8o0S17GHSSMwOl1A=="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.2.0_1545806486040_0.8154063242984408"},"_hasShrinkwrap":false},"2.0.0-alpha.0":{"name":"beidou-webpack","version":"2.0.0-alpha.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.0-alpha.0","babel-preset-beidou-server":"^2.0.0-alpha.0","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","uglifyjs-webpack-plugin":"^2.0.1","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"d50bc91db479f2a693ef4e34d392d123aaf1738d","readmeFilename":"README.md","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n* Fast restart immediately support\n* Custom config support\n\n## Breaking Changes\n\n* Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n* config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n* **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n* **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n// Example 1:\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n\n// Example 2:\n// Note: The config will cover the default config\nmodule.exports = {\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\n#### FAQ:\n使用配置工厂自定义配置项,操作方式如下例\n```js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n  \n  // get the webpack factory\n  const factory = app.webpackFactory;\n\n  // set the value of output in webpack :\n  factory.set('output',{\n    {\n      path: outputPath,\n      filename: '[name].js?[hash]',\n      chunkFilename: '[name].js',\n      publicPath: '/build/',\n    }\n  })\n  // modify the output value\n  factory.get('output').chunkFilename = '[name].modify.js';\n\n\n  // add webpack plugin config list\n  // add UglifyJsPlugin config into plugin of webpack\n  // TODO: fix\n  // factory.addPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: false,\n  //     }\n  //   },\n  //   'UglifyJsPlugin' ,\n  // )\n\n  // modify the UglifyJsPlugin config\n  // TODO: fix\n  // factory.setPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: true,\n  //     }\n  //   },\n  //   'UglifyJsPlugin'\n  // );\n  // or another method\n  factory.getPlugin('UglifyJsPlugin').options = {\n    compress: {\n        warnings: true,\n      }\n  }\n\n  // modify the rule of webpack\n  const ruleObj = factory.getRule('.ts');\n  ruleObj.options = {\n      test: /\\.tsx?$/,\n      exclude: /node_modules/,\n      use: {\n        loader: \n        app.webpackFactory.useLoader('babel-loader')/** if had the defined loader，use it **/ || 'babel-loader', \n        options: {\n          babelrc: false,\n          presets: ['preset-typescript'],\n        },\n      },\n  }\n  // define the loader\n  app.webpackFactory.defineLoader({\n    'babel-loader',\n    require.resolve('babel-loader')\n  })\n\n  // generate prod webpack factory\n  const factoryInProd = factory.env('prod');\n  factoryInProd.addPlugin(new webpack.optimize.UglifyJsPlugin({\n    compress: {\n      warnings: false,\n    },\n  }))\n\n  return factory.getConfig(); // return webpack config\n  // or return webpack config for prod\n  // return factoryInProd.getConfig()\n\n};\n\n\n```\n\n#### Class Struct\n\n> Class Struct for Plugin\n\n```js\nclass Plugin {\n  object ,      // instance object for webpack plugin\n  class,        // class for webpack plugin\n  opitons,      // initialize config\n  alias\n}\n\n```\n\n> Class Struct for Rule\n\n```js\nclass Rule {\n  opitons,      // initialize config for rule\n  alias\n}\n\n```\n\n> app.webpackFactory methods list:\n\n### reset(value)\n#### Parameters\n* [value] {Object}\n\n#### return\n* this\n\n###  set(key,value) \n####  Parameters\n* key {String}\n* value {*}\n\n#### return\n* this\n\n###  get(key) \n####  Parameters\n* key {String}\n\n#### return\n* {*}\n\n### generate {key} factory for webpack:  env(key) \n####  Parameters\n* key {String} factory flag\n\n#### return\n* {Object}\n\n### Get the final config for webpack : getConfig() \n####  Parameters\n#### return\n*  {Object}\n\n\n### addPlugin(args, options,alias) \n#### Parameters\n* args {Object|Class|String} \n* [options] {Object} \n* [alias] {String} \n\n#### return\n* this\n\n\n### getPlugin(filter) \n#### Parameters\n* filter {String|Function}\n\n#### return\n* {Plugin}\n\n### setPlugin(args, options,alias) \n\n#### Parameter\n* args {Object|Class}  \n* [options] {Object}\n* [alias] {String} \n\n#### return \n* this\n\n###  definePlugin(args, options,alias)\n#### Parameters\n* args {Object|Class}  \n* [options] {Object} \n* [alias] {String} \n#### return\n* this\n\n###  usePlugin(alias)\n#### Parameters\n* alias {String}\n#### return\n* {Plugin}\n\n\n### addRule(options,alias)\n#### Parameters\n* options {Object|Rule} \n* [alias] {String} \n#### return\n* this\n\n###  setRule(options,alias)\n#### Parameters\n* options {Object|Rule}  \n* [alias] {String} \n#### return\n* this\n\n###  getRule(filter)\n#### Parameters\n* filter {String|Function}  \n#### return\n* {Rule}\n\n### defineRule(options,alias)\n#### Parameters\n* options {Object}\n* [alias] {String}\n#### return\n* this\n\n###  useRule(alias)\n#### Parameters\n* alias {String} \n\n#### return\n* {Rule}\n\n###  defineLoader(alias,loader)\n#### Parameters\n* alias {String} \n* [loader] {String} \n#### return\n* this\n\n###  useLoader(alias)\n#### Parameters\n* alias {String}  \n#### return\n* {String}\n\n\n\n- **app**: the `BeidouApplication` instance, usually used to access server config.\n\n* **defaultConfig**: default webpack config generated by beidou-webpack.\n\n* **dev**: `true` in local environment or `false` in production.\n\n* **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n* **router.root**: the directory scanning begin at.\n* **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/\\${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)","license":"MIT*","_id":"beidou-webpack@2.0.0-alpha.0","dist":{"shasum":"f5762888a95344ba161644535cacc41f03d1137f","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.0-alpha.0.tgz","integrity":"sha512-tSLhiYWYfvV+P8eqgLL9g6hj4Z1dj7LJHATmOR3pK+FgCvafpkirPm0ks3HCJ3Ueknw5hDOzxz+EqVXQXygY5Q==","fileCount":21,"unpackedSize":54169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI2v4CRA9TVsSAnZWagAAN4oP/0dN6HBREmzdUfFj5WlP\ncZjfKhe90HQvsWCA8V6/9AZ7IuAh9JNRHQQGS03QWcU2juUf4c6u07RpQb2S\nM2TMZtKER8Ehf7ALs4iHlW0BnAEnSylKwe0OS/3Qc8JTHXeXCXz1OcUyPKTa\nAc/H0+1x2nPFEaB2nJRxivVAm+cblRr3NblXP5mtpsoP6RzBCa2dBH/kJRvH\nk8QrlegJ87TeH8Pg23gYr0HQsFns2LtSxo8myJRULF7WjVN2/3clauQ5T3w4\n3vG3vbH6xUKVbaRjQH+FdEuU/h2weB6lBtDQRWRv5yrCgj9hWkLYGvpSvx02\nD9W4YFZEuQiXhFUwnpEGTL93I0M9obwZf7CtapkRaLestfvcBN0ZB6RgiJ7S\niFLdkozgv3M9a+UkqG/rwa2j4W+g1oc86cfQeXFimoP9Cz08YdTXfJPy0Kq+\nFwnwelVyHpOoFRTmWCfvZVClTPOLQ3Oqw/X52Ach6TxTcD0klsDnlIUwE1K3\nMfGuiSZczUQXfgKIYr7SR9+NJTdfocw9Or7BE0HoaOaJGsZjUW2vfiqVMk4m\nSJbiaOWb+mHG9BQwyCih0QRZi8M/kcR5QYuBjIrMXdYrGS1QuEzJxkQVbw+f\nhyDiCPxSP8VqWiFFEZ+aVRNX/EZh+Mm6aQPLnTnNTkTXvB71P8ntkjwzYqwv\n/mGD\r\n=zYHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQf3GlyJYZnE/U56P7ZIcM+08uLTgsFJz45uUqjOMCcAIhAMNAFC75LVr+MXif9A/mMl9AZrIIL2uE4arrXolUt3BF"}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.0-alpha.0_1545825272413_0.8247587993613346"},"_hasShrinkwrap":false},"1.2.1":{"name":"beidou-webpack","version":"1.2.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"argh":"^0.1.4","autoprefixer":"^7.2.4","babel-core":"^6.26.0","babel-loader":"^7.0.0","babel-minify-webpack-plugin":"^0.2.0","babel-preset-beidou-client":"^1.1.0","babel-preset-beidou-server":"^1.1.0","boxen":"^1.3.0","chokidar":"^2.0.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","node-sass":"^4.5.3","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","sass-loader":"^6.0.6","stats-webpack-plugin":"^0.6.2","style-loader":"^0.19.0","url-loader":"^0.6.2","webpack":"^3.10.0","webpack-dev-server":"^2.10.1"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","react":"^16.2.0","rimraf":"^2.6.1","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.0-beta.2"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"license":"MIT*","_id":"beidou-webpack@1.2.1","dist":{"shasum":"0972a33ec9f664d62b33db64017d39ca0dc8de4d","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-1.2.1.tgz","integrity":"sha512-bSmDgXvgmjI0PbFSjlUIEC6chWCajfxDsZrMB4Mo0TK5vomoCnrrRTtSXOHHsLJFvJ5u6qsWjGKNrv99vZpyOQ==","fileCount":69,"unpackedSize":63435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM0GpCRA9TVsSAnZWagAAticP/jUMWbV0b/O08DU05dYc\nLdnpZpm/3lnH4Vuoc55XXY2zvu18zSVbvZ2I8MXm7C53P+fI3dJXOpTY2vHW\n5AWShkZwsIoQxlWKu2Y+wHztPRUfS1qQkw3Ng4g9O8/hdCxoTDaUqTNgIGaw\n15qEndyTKC9nR0jhqLkNwWgfnThSoOaDBbsX2cWI0zKbWneDMu0lKgiifGl4\n6Prtrx7+py6lhUTcrAl7agS7zjwkkrr0/gj94K9TzUpGdwCkPgACsA4aWiq6\ngdUBkmOhjruOFsO28SIyFvriXUqDhM09ioYABdjxZH8A6Xwe2LV6rjglBca3\nAyYUTSp9+kbIo9Ndkc86XwkL5f+NGlXu+112s8cFYUvqSWz0yFebkIXx8kXN\ne6Dr2hEyoJfyM+j5EtBi7WrdQWqoNIxbimvoaeewtcVfuLvMAnC8P4oVnMai\nXMl7tVdggMUP9WsCBx5QGgxO4Ljmjc5M5VHZ5DzhVB4F1hlpQF4Wl5hNlcSz\nADmdC/kHN0dsUCXxT2/rutSL3C4VtnyLvhQsFKRFVYV10jFLwM/TmoDePsZz\nDyH5fjAGUUUYe41ajwLUQQdepCmVhnEYUYKozzapUjzRoMTy57ziwHLn069T\nZnhEdAJexU7yJ6OeKkwOzEHhgFxQP1Wf58t1QogmBwuQ1yE/DbgM9U9BrClQ\nWdva\r\n=o+Rj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnzEJbrFEad56D2AT2i2B0bAKrc8YB1hUJY0F9n9bxjwIhAM7VLMUZ8jzK3/66Uf9ThRiNgMlaBrEyfd2nIaJAQyHd"}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_1.2.1_1546863016407_0.16957402171048397"},"_hasShrinkwrap":false},"2.0.0-alpha.1":{"name":"beidou-webpack","version":"2.0.0-alpha.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.0-alpha.1","babel-preset-beidou-server":"^2.0.0-alpha.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"0f281a0562e768556e4b68483801c80254ecca8f","readmeFilename":"README.md","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n* Serve jsx/js source\n* Serve less/scss/css source\n* Support hot module replacement(hmr)\n* Fast restart immediately support\n* Custom config support\n\n## Breaking Changes\n\n* Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n* config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n* config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n* **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n* **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n// Example 1:\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n\n// Example 2:\n// Note: The config will cover the default config\nmodule.exports = {\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\n#### FAQ:\n使用配置工厂自定义配置项,操作方式如下例\n```js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n  \n  // get the webpack factory\n  const factory = app.webpackFactory;\n\n  // set the value of output in webpack :\n  factory.set('output',{\n    {\n      path: outputPath,\n      filename: '[name].js?[hash]',\n      chunkFilename: '[name].js',\n      publicPath: '/build/',\n    }\n  })\n  // modify the output value\n  factory.get('output').chunkFilename = '[name].modify.js';\n\n\n  // add webpack plugin config list\n  // add UglifyJsPlugin config into plugin of webpack\n  // TODO: fix\n  // factory.addPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: false,\n  //     }\n  //   },\n  //   'UglifyJsPlugin' ,\n  // )\n\n  // modify the UglifyJsPlugin config\n  // TODO: fix\n  // factory.setPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: true,\n  //     }\n  //   },\n  //   'UglifyJsPlugin'\n  // );\n  // or another method\n  factory.getPlugin('UglifyJsPlugin').options = {\n    compress: {\n        warnings: true,\n      }\n  }\n\n  // modify the rule of webpack\n  const ruleObj = factory.getRule('.ts');\n  ruleObj.options = {\n      test: /\\.tsx?$/,\n      exclude: /node_modules/,\n      use: {\n        loader: \n        app.webpackFactory.useLoader('babel-loader')/** if had the defined loader，use it **/ || 'babel-loader', \n        options: {\n          babelrc: false,\n          presets: ['preset-typescript'],\n        },\n      },\n  }\n  // define the loader\n  app.webpackFactory.defineLoader({\n    'babel-loader',\n    require.resolve('babel-loader')\n  })\n\n  // generate prod webpack factory\n  const factoryInProd = factory.env('prod');\n  factoryInProd.addPlugin(new webpack.optimize.UglifyJsPlugin({\n    compress: {\n      warnings: false,\n    },\n  }))\n\n  return factory.getConfig(); // return webpack config\n  // or return webpack config for prod\n  // return factoryInProd.getConfig()\n\n};\n\n\n```\n\n#### Class Struct\n\n> Class Struct for Plugin\n\n```js\nclass Plugin {\n  object ,      // instance object for webpack plugin\n  class,        // class for webpack plugin\n  opitons,      // initialize config\n  alias\n}\n\n```\n\n> Class Struct for Rule\n\n```js\nclass Rule {\n  opitons,      // initialize config for rule\n  alias\n}\n\n```\n\n> app.webpackFactory methods list:\n\n### reset(value)\n#### Parameters\n* [value] {Object}\n\n#### return\n* this\n\n###  set(key,value) \n####  Parameters\n* key {String}\n* value {*}\n\n#### return\n* this\n\n###  get(key) \n####  Parameters\n* key {String}\n\n#### return\n* {*}\n\n### generate {key} factory for webpack:  env(key) \n####  Parameters\n* key {String} factory flag\n\n#### return\n* {Object}\n\n### Get the final config for webpack : getConfig() \n####  Parameters\n#### return\n*  {Object}\n\n\n### addPlugin(args, options,alias) \n#### Parameters\n* args {Object|Class|String} \n* [options] {Object} \n* [alias] {String} \n\n#### return\n* this\n\n\n### getPlugin(filter) \n#### Parameters\n* filter {String|Function}\n\n#### return\n* {Plugin}\n\n### setPlugin(args, options,alias) \n\n#### Parameter\n* args {Object|Class}  \n* [options] {Object}\n* [alias] {String} \n\n#### return \n* this\n\n###  definePlugin(args, options,alias)\n#### Parameters\n* args {Object|Class}  \n* [options] {Object} \n* [alias] {String} \n#### return\n* this\n\n###  usePlugin(alias)\n#### Parameters\n* alias {String}\n#### return\n* {Plugin}\n\n\n### addRule(options,alias)\n#### Parameters\n* options {Object|Rule} \n* [alias] {String} \n#### return\n* this\n\n###  setRule(options,alias)\n#### Parameters\n* options {Object|Rule}  \n* [alias] {String} \n#### return\n* this\n\n###  getRule(filter)\n#### Parameters\n* filter {String|Function}  \n#### return\n* {Rule}\n\n### defineRule(options,alias)\n#### Parameters\n* options {Object}\n* [alias] {String}\n#### return\n* this\n\n###  useRule(alias)\n#### Parameters\n* alias {String} \n\n#### return\n* {Rule}\n\n###  defineLoader(alias,loader)\n#### Parameters\n* alias {String} \n* [loader] {String} \n#### return\n* this\n\n###  useLoader(alias)\n#### Parameters\n* alias {String}  \n#### return\n* {String}\n\n\n\n- **app**: the `BeidouApplication` instance, usually used to access server config.\n\n* **defaultConfig**: default webpack config generated by beidou-webpack.\n\n* **dev**: `true` in local environment or `false` in production.\n\n* **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n* **router.root**: the directory scanning begin at.\n* **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/\\${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)","license":"MIT*","_id":"beidou-webpack@2.0.0-alpha.1","dist":{"shasum":"c37335d2309631f6a21b162db30c7824fad07e5a","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.0-alpha.1.tgz","integrity":"sha512-3kSsqc51V7MmWk+HJDKhQbo0miO6oxFjvWD7RnjdcGXf6z3XKZrrcZNJic7+1Phdl9avHRgWWuUYMplidSAs9Q==","fileCount":21,"unpackedSize":53593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNGYYCRA9TVsSAnZWagAAQNoP/AyHLRvPMDxE12VSg+Pe\ndxOz0zP67N3Cd09UW0mY0khCXI64PnBWqpMDSsxSENoE1cIHpPSd+N4ELQpY\nyVcmNYBIdqsYaB75FpX2VVsC/ZWTiHOQiWkj8rjuUYTWSe7G+GV9p+kBwUkT\nIE6Git9XvKNUN+ub/FB0eB1eVoU1Obzj+CDyk2cDyStiOVtdOtdDEb/0oFbS\nQi4q357H8pElDOQEK6PLQWCTpR/wOgWWf6T4eQ7V2FJdTfcuVlQvOzpapJ+X\nPkH4N4w+bI3ARSKOVv/aDmxz8gPGKw6Ikrc2pY2YmkR5EDWvLDaCgnVDqBvI\n7S26VVlMWTmQBUR+BDMeh/wYRqrlRYU+11ahZon24MFxCrjpxor1XuLF+y4T\nG8TWoQHBBelYcud/JMiR4BwRA3JYEXy/4iMICGQKGsme3LIQ//vZKP7aAnkP\nwATjY4yKzUQmLVteGsjKuyjPZKMB8TTWQ37rZ5c/e0qPpByneSIF9fvScglC\nludY9UEm/GYA1pSYocuZmdu2CZ4i1PPLMdhphjtROLwg3QVruRfNe4yEDGul\n5tCQ9DwbmtG2Vsn1TwVtVTDLEBNv/BiSs4q7hOQqbAVgV2+LyCx8jZTtdX13\nlncNw1QTLi2yLpO8VYQQROyixod9FlH+02WCxP+qCWEYjiB7NgxblIMYyMpX\nfBp5\r\n=2DJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHg+RJUIOh8d3GyLk0Vur787dkGK8Fg+nprqUS3WMXsmAiEAr3zKsyCo7+kkOlWDLzp0K8ltepa1Es4iShxUdUX7eG4="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.0-alpha.1_1546937880148_0.015819642952471735"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"beidou-webpack","version":"2.0.0-beta.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.0-beta.0","babel-preset-beidou-server":"^2.0.0-beta.0","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"b601b857e2d005cdad7cb7b73462a7e02f23f8e9","readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n- Serve jsx/js source\n- Serve less/scss/css source\n- Support hot module replacement(hmr)\n- Fast restart immediately support\n- Custom config support\n\n## Breaking Changes\n\n- Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n- config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n- config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n- **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n- **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n// Example 1:\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n\n// Example 2:\n// Note: The config will cover the default config\nmodule.exports = {\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\n#### FAQ:\n\n使用配置工厂自定义配置项,操作方式如下例\n\n```js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n\n  // get the webpack factory\n  const factory = app.webpackFactory;\n\n  // set the value of output in webpack :\n  factory.set('output',{\n    {\n      path: outputPath,\n      filename: '[name].js?[hash]',\n      chunkFilename: '[name].js',\n      publicPath: '/build/',\n    }\n  })\n  // modify the output value\n  factory.get('output').chunkFilename = '[name].modify.js';\n\n\n  // add webpack plugin config list\n  // add UglifyJsPlugin config into plugin of webpack\n  // TODO: fix\n  // factory.addPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: false,\n  //     }\n  //   },\n  //   'UglifyJsPlugin' ,\n  // )\n\n  // modify the UglifyJsPlugin config\n  // TODO: fix\n  // factory.setPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: true,\n  //     }\n  //   },\n  //   'UglifyJsPlugin'\n  // );\n  // or another method\n  factory.getPlugin('UglifyJsPlugin').options = {\n    compress: {\n        warnings: true,\n      }\n  }\n\n  // modify the rule of webpack\n  const ruleObj = factory.getRule('.ts');\n  ruleObj.options = {\n      test: /\\.tsx?$/,\n      exclude: /node_modules/,\n      use: {\n        loader:\n        app.webpackFactory.useLoader('babel-loader')/** if had the defined loader，use it **/ || 'babel-loader',\n        options: {\n          babelrc: false,\n          presets: ['preset-typescript'],\n        },\n      },\n  }\n  // define the loader\n  app.webpackFactory.defineLoader({\n    'babel-loader',\n    require.resolve('babel-loader')\n  })\n\n  // generate prod webpack factory\n  const factoryInProd = factory.env('prod');\n  factoryInProd.addPlugin(new webpack.optimize.UglifyJsPlugin({\n    compress: {\n      warnings: false,\n    },\n  }))\n\n  return factory.getConfig(); // return webpack config\n  // or return webpack config for prod\n  // return factoryInProd.getConfig()\n\n};\n\n\n```\n\n#### Class Struct\n\n> Class Struct for Plugin\n\n```js\nclass Plugin {\n  object ,      // instance object for webpack plugin\n  class,        // class for webpack plugin\n  opitons,      // initialize config\n  alias\n}\n\n```\n\n> Class Struct for Rule\n\n```js\nclass Rule {\n  opitons,      // initialize config for rule\n  alias\n}\n\n```\n\n> app.webpackFactory methods list:\n\n### reset(value)\n\n#### Parameters\n\n- [value] {Object}\n\n#### return\n\n- this\n\n### set(key,value)\n\n#### Parameters\n\n- key {String}\n- value {\\*}\n\n#### return\n\n- this\n\n### get(key)\n\n#### Parameters\n\n- key {String}\n\n#### return\n\n- {\\*}\n\n### generate {key} factory for webpack: env(key)\n\n#### Parameters\n\n- key {String} factory flag\n\n#### return\n\n- {Object}\n\n### Get the final config for webpack : getConfig()\n\n#### Parameters\n\n#### return\n\n- {Object}\n\n### addPlugin(args, options,alias)\n\n#### Parameters\n\n- args {Object|Class|String}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### getPlugin(filter)\n\n#### Parameters\n\n- filter {String|Function}\n\n#### return\n\n- {Plugin}\n\n### setPlugin(args, options,alias)\n\n#### Parameter\n\n- args {Object|Class}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### definePlugin(args, options,alias)\n\n#### Parameters\n\n- args {Object|Class}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### usePlugin(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {Plugin}\n\n### addRule(options,alias)\n\n#### Parameters\n\n- options {Object|Rule}\n- [alias] {String}\n\n#### return\n\n- this\n\n### setRule(options,alias)\n\n#### Parameters\n\n- options {Object|Rule}\n- [alias] {String}\n\n#### return\n\n- this\n\n### getRule(filter)\n\n#### Parameters\n\n- filter {String|Function}\n\n#### return\n\n- {Rule}\n\n### defineRule(options,alias)\n\n#### Parameters\n\n- options {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### useRule(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {Rule}\n\n### defineLoader(alias,loader)\n\n#### Parameters\n\n- alias {String}\n- [loader] {String}\n\n#### return\n\n- this\n\n### useLoader(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {String}\n\n* **app**: the `BeidouApplication` instance, usually used to access server config.\n\n- **defaultConfig**: default webpack config generated by beidou-webpack.\n\n- **dev**: `true` in local environment or `false` in production.\n\n- **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n- **router.root**: the directory scanning begin at.\n- **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/\\${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-webpack@2.0.0-beta.0","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.10.5/node@v10.14.2+x64 (darwin)","dist":{"integrity":"sha512-MPlLI0t3jpZTRCs6/SxQMGyrm5guvAK1cNysZxEtyH1ByFIGCd31GuNOECJ9eJX3KUZWq35COYWwgjk8Gseuug==","shasum":"d43d8d1ac14948c5b02b1d189d5c345079d11949","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.0-beta.0.tgz","fileCount":21,"unpackedSize":54188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOFQVCRA9TVsSAnZWagAA1bwP/RUvLWd88PtBE7/F0OYr\nrlY2KmqCCC/AT3ObGvROLhvCZPp6U31Q4D42FBRD6w+kvzuC8S/IG1qhw3IS\nDcEjvg0dRrQEeZWWuaAWxB87v2cmtxTIUde3EAdgJKyM9/NU7tsmH8gK7XJa\npELfqUxeuxQsJaJotwB9G3T79wH4TiTLBRh7ZjHRSNcOeAJQGgMzdmX/rRQe\n0WhxTrdneJNr+GFRapl4zOXhuF/0s8aXMmHBEgGHnknWp6k0tCKVfnjIIgdI\nzyvpTUhWpO/Rg6EFNF2X7I2f4zX+zHZixuUude/DV5LhVQ03ynMH+osJei8s\nIjdsPVjlBo8x7odPGh4Gi957cvrk1EW62eSa1he7XNsYogiaaiDGK1HtMzzv\nzShxqvjz6GFJkdsM75tkX0ArH56KBBZC+qKVh/eN3MZwbaASewU5UHKv5mPc\nc5yRWgv6PD90ro5qLs8LA7JDqEZa4F2HgCT/vTXKpkOcWU3pEZfZGQIc82+7\nWS6eX9unAXHu2HuZDhJOVn2b00g4hv8GaUHosqvBAik9oGgATSfx7XM4/orr\nyg6nKslsKYtlkOIJBDeYZRKO2yqZ+p92eXqdb2k9PaSw4QcSZA4API1o2cjn\nSF1ZeE5RMiqFQ4mjuOvhi9dZ5CKOKmyZTDwrwFotKhSaasRTzp6S2hUpbTQV\nqjOl\r\n=UWKe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaAvdxnpBW4R9MsXl+x7Q2gW+K6NqMvGqBH4PvYTqfkAiEA7mLISSFxdvawlErVAfrbqBHbYI8xXsCOYRTUUJZVOgU="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.0-beta.0_1547195411273_0.3595088769504946"},"_hasShrinkwrap":false},"2.0.0":{"name":"beidou-webpack","version":"2.0.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.0","babel-preset-beidou-server":"^2.0.0","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"9dff20044847ec621877f1105de0f61368f4284b","_id":"beidou-webpack@2.0.0","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.10.5/node@v10.14.2+x64 (darwin)","dist":{"integrity":"sha512-XInecFNURLgYG9rkVvmp7gvds/ZA8LjFklcL87F2quEbeeulukesdXNsOhUIEOFumLSGd22Uv1vBa5vSSZkxgQ==","shasum":"a9808040ea6f2ad082f2610630cd1abe50155712","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.0.tgz","fileCount":21,"unpackedSize":54461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPx+aCRA9TVsSAnZWagAA3YkP/irvi3V+laUcY8GQvmOC\nm4cCA/r0gJuXzcGwncHUfuwUnYmpWR4MH08OyEvyxbYjllKOxqpC6byI6pb9\nefdKtZzWHvDdGGwDaFvYpWggwQd2XN2E35tpVmMFjBmAVHU3ukzWJ2EaYSKZ\nQ52KI0n2lT9oksmgd6FIrWnd6+/XmvoxLp2POreKT3n0WYe3TG1l4Z1g6V5C\nQrKRDiJ6niY2XWmC9rl2Zk/4WYhDOfK5zHyUU+koJvqPvviIguHroqPD6Hnm\ncGjmhLTazXxn/YuepUx23tDb4nBqurQKRhJGecEeudTrvQ/62i1JcjpSdMoe\nVwVuxjO562Gxs2D8Z9HaBgulq4rSey9Zr6UU8gj5RTOd2bt5ZwcEP+l5F9P+\n38JKtHyCrFlojjsQBk/UHeIqCyhcp5YzBrQuvVGuEM7wOTGGytusNG7kzOB7\nwjoKKB0Cjjo46ZMsYqwthu0XzFHTS7HIosbguldRQS0htnb6FAGXmvnQ8vWR\n5h+2zeiszYo0E0hrM0/Nn9T1QzAU+oyD+MjJMn6MwdTOm/OQYsjyuUYA30ha\n+ymvNcdKeuhYsxTfB+D0MA+9xIO6M32LfsL1fS32IFdcVtwAaRsKntqMXmbV\n6vUXmcwVy1e7vEjGC7bNpUhaiUNkBZT721HRa/5XCg+5Ls4OfVnbb9n4Vs9c\nJDGq\r\n=A2x4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS5Nbf6Nl6unNpcgSFYat26jWyGYGNRlraPxm2ROPzUgIgRfuTgkm/mN9D3v81ZBfz+Wx0wG1y3A6ph5FGewTD5FM="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.0_1547640729994_0.6036496842175982"},"_hasShrinkwrap":false},"2.0.1":{"name":"beidou-webpack","version":"2.0.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.1","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"c5704dce53d214be324134454773ad2d7ba7e191","_id":"beidou-webpack@2.0.1","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-Y6Ro/2eNxPemkXpUzpmfr7J2uWwUaTukHRnoLqbww3ICfsqJ96wpA/t/+E/1+BXL2IFWtBGF6Kxcf0Sn8fcJgg==","shasum":"340309e9169f8321ac9f6138e3538998a3dcbaac","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.1.tgz","fileCount":21,"unpackedSize":54461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUFL4CRA9TVsSAnZWagAACI0QAIdaZYayke2Rx71qLHWy\n1rXJ9h3bpj9VQTNshKRT2XQni2Q//yNOA9x3IUChd2/X3rkz/zy7DpeVSBlb\n4kc8LYCfFLRbn94t9Kt8pEspnBWv87yt3ky+oNbjx7anBsQLNCiXKRMCTA5J\nyyqIGxCtdV0QoiUbD2+LnTaEY6IV4bvhOP3BZbcxrOZAiq2+PW0rJX3cFCNu\nau/x6FdVxONNlsxQ5zYvMlHnWlwmuOiBYLKjJ/vqiWmRHemQGzx0vJpWVlNb\nUPJBaZtZyVsYMDYl3qyEPCjKuKbR3NtV7JQ9FqY3wZd8R9B8jmydwSYqNDQU\nQAWRinqM8clZhpczueiLE9vPyS+xE0OjK6MbgKMrV2s5PDWKxHcVEEbg0WS7\nTyE8fbfqkyk4ZT2MAxLUNHoW6a9CD1MvBVjHnFJTjYMN/g2i0eThb6IXR1DM\nbGWPtGtbbtAkuXqizkdNzTUE9lmyIqTfzWCa8ibzV/G5Y4s3powbJ3wWaHxl\nAOjwzXPi//D+pjnRSR+zLFH7ZvuTy5yhD/RN7KjfVItHgsOQrBWYXcH4aSl8\n8rEPLn80Kp6P/o5xlE/rYGenLT0YGcHMBIzv5MVAE4BLUCkUe2GQv9uLhO3+\nsXEEWQeGQqUjaeBf69iPpvoMwmn0wzVzGjF4Q1QNt+BrSBepm5LiG/whhTRl\nwjN9\r\n=l/bz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExyvodn4zasH2HF0fBvc2GFZ8bCjlYPEcdzZjUSqdC1AiBLydwoY14mBwAzUtSA8++hnGgdYARJM9tl99MU7usqWQ=="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.1_1548767992334_0.022092436279954608"},"_hasShrinkwrap":false},"2.0.2":{"name":"beidou-webpack","version":"2.0.2","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.1","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"8778b49d628767587f1ada4d24643d8494ef5ca9","_id":"beidou-webpack@2.0.2","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.7/node@v10.15.1+x64 (darwin)","dist":{"integrity":"sha512-SIL8aCl5/vj0gE0zXmYgrbPeJ5zZn8Ofw6cVZPCKzuBBel23lfuFYC438yQTasdJny4jfNKU5mb7TeA9YGeiiw==","shasum":"b15ef5335e0622f453d07725f925aebb2dc9bc73","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.2.tgz","fileCount":21,"unpackedSize":54818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdqZZCRA9TVsSAnZWagAAkToP/1aenUz1gBn9ZqCeQSoX\nJ1BU2GX8f4l+Pqr5Vp9kVZ7D0Y4OwtUOAkr+Zp7VRzseNs4ouoLh9lMd2yXz\n9hpl1vccLy6kJ2tVo4ZRuCz3rNOkIoa2H+F+SPGDrUlRe6psDlB0f3fGh3BJ\npTqYwSNYwQmMgzYItzBWXUYz2Wf2E3i+umzhTqqPnI8xFv/6V0PZNxsQfibm\n2v8qIScvBsXVDz7SFF037Ve6lmm+yEpGrA/U+WdpH4CtM5lOuK/tMW6nkUqm\nMdDEdrZjvMw39V8N7SG51PV7MTCflVHqfsAF31XPFC99XbvxMHlTzRgzAFfI\nonGsVvZvTJjbMKtql4uUX/BNCqWiUgi+gPpdnGYg0dGQXQbdAdUv/uCXo3zv\nFQMGplBX2J7yUmDUgMG3FPRUY9vq75E0Ni8v1/77VSt7l4XFB5tx11oUitk3\nQsU4Ay88bB9K3mzPYTXwSAoVUF5SOZH9ha2cH73AO79HsxRGMlNdtnD+wPE1\nfvE8CvO60JubA8b5K+ed2XqB5YRLD8F/s6zVLbh6ybycs47pyLmmO24a7o35\nklv9EXAEvT4YWenyAzJj5n9NmnCp4e2sK9IuPXlsWdT3ijGw8C0MeDjipeXm\nw1vUWuCiVHZhp6cHXDmlr6D7UuwVHGq6bLbLO6qfDeGSyEi37zOC60FWvqeU\nM/HN\r\n=djSm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3LO0lvz2d28Mqql8ku6TuPDXZDCGzIK+BUF8G0kPDtAiEAt5HgMwEoECKnkuwvgFQOdxfQjQvTQXppWJnA0xyRnhE="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.2_1551279704449_0.38413276224583126"},"_hasShrinkwrap":false},"2.0.3":{"name":"beidou-webpack","version":"2.0.3","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.1","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"000ace9e40a0db064cbbcc6f0c1c08a86f976ccf","_id":"beidou-webpack@2.0.3","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-bk9hMUuzBtqwE1NCD948DxXXYBoSPjIjbqQTzk+wG69jpP3NZ+be2RMLRYvoHcB5jk10E1mAjaumq1APpK9qzw==","shasum":"0ea166acf2b92ca3f21b27483f8b5ac7d3563e2e","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.3.tgz","fileCount":21,"unpackedSize":56054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfQu0CRA9TVsSAnZWagAAs3wP/3dZU7kvpuPRyUivblzm\n7LBFKpcxkpn7a7tnL7v5UtOrmrRso4i+nbpyRw1V1SQ3VhqmAbfUROvYf1Pv\nE1Q8J1roLsBYj6WX1exYfxBXTQTIMyex2fr17OMTlDn0zw4gIp5+avVaPfQX\n7dMGLsu4vGiIisr9TXIb/bENK+rMUO9GfjVAitfbIlDLXBzZsfKsB2QDn6T2\nCXKEzPDDlPvse+Er94cmAM6YCPY6D27Cd9ELPIUnPRbkmkYmbSzv2zjEJERF\nS5pSHLu9zU/MSEcvxjCqidZmQ8R5bmFNNP0wQ+jyKx0DXRAzv/q360dNhzrV\niYLRBWEGANd11UdPelmsto6GMua8PcUCCCBiQFHS0YErYKnOuL+Uzz63eQxn\nVF6fxEYB2SnJCVxJsQT81lxDfhsEr0fXoDpRsW7rDB1QsFIz/qodSIzTqzN2\nJzfwlytPq2pWthR0XyjPr5fDsuDhAnJyfNqyO1anY6tb8A4x9JcXygy4XVtt\ne/N48w1bllucfAHDw2SHXxrsaotc24qUjiOQ8raxIJTKfB7R3W4lO5p1D0S3\nDg3HKbc903uBx9gVubt5sh2Me0FqPpw+eBSWK/i3eyO8z8AjWoOCqIfsN1gE\nDUTOG9YsX/jKJvrnU9YC9tLZia48mWmcGbLAM+pYahmn9GizhXIeHAtFubdJ\n/EzV\r\n=WPYN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmhJ6Pvgh+PymevzvQgmqTeFqQpBbGLAqeFzvtul3J7AiEAshGk9SZzq+4B68zWqPH0yY0GvwQsWCSYotSKwq+3NBg="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.3_1551698867676_0.3911132514710698"},"_hasShrinkwrap":false},"2.0.4":{"name":"beidou-webpack","version":"2.0.4","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.1","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"e6babf40f28c6cf3f2558d06885b915325d97cd0","_id":"beidou-webpack@2.0.4","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-pm150uqD7aVi0di6f9aAEOem6LUhr4ymBmJcA03Fq2DHIfnD+APwZtkEuXe2SboWjqaCNI9E/Z96TPSO5T2E4w==","shasum":"1b118c1a28af5f9e8d5b524d29556b06ecf4c0da","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.4.tgz","fileCount":21,"unpackedSize":56867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciNEYCRA9TVsSAnZWagAAJaQP+weL0P9rzpVsdhNOc7HZ\nT4KTURNLWCSWa0ISyN8tI2KpEwUBVX3ofjeOMjnJN0DTz1iBQXC8CupxNhqt\nM+WEva7M2Q3J1RHitrSU9y2uMDtrysdAMe4E87j565oqyVJgiRi0qzfQtgep\n8M9uAikgTtqw7LE6iUsCOfcJy+2a0rWABLG9j+/FaHJPXAQjIaLKMjVn9EAw\nubYI/kxbNs5s3zT0UwPdvh7TgH1tbIbYG07Qqq5BboVrZTLnRZpeVttPyfln\npjSq6ef8EtSfV6QnJJTG9DBkE5Im62C80XlgzXNNkFtdPLS2IsGqlDmCRd5o\nMSbnjmSOd2dg2tVH57NubO0x/dgqqvYB9NplFvY5o5GHp3j+o/Wam8nYDzzS\nkSCaxHU330eeH6w6yTKNGo4kt2WPvTQusYsvmnICVRkMtROZYT8bN/sF0UTu\n/aQNmBXxNwQBB09ZPQnw4p3II2mr+3HgOAzdIViblrvPefDsEWUn59uvVqQR\neap6KfstAlHusdOiTRZaskJ4OpbJOlG9LqGHhAeAi2jEznnQuiF/IbLaXWFN\nSk0gV21Nj+VRIiE9YflP84ajF/H/gJraOM7ZacBdFXvbjcA076tLxA8B4nYz\nR5F57amtTSn3gcPA6gGGe2J2Mu9CqYYPa2MdFSIAVY6ji5zIcbXE6EOh+xlF\nQdi/\r\n=ov2m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbr0ppbtSudqxIcYaYzemR/WicOc794MBX90W2yzbIvAIgbYH2wSgGr5F8ivZSI2MB4bXfLGPCRsoQNQgPVFUqzG0="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.4_1552470295882_0.6181285924926454"},"_hasShrinkwrap":false},"2.0.5":{"name":"beidou-webpack","version":"2.0.5","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.0.1","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.2","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"58f1fddd23206c9a04266e698c48be83e9c528d9","_id":"beidou-webpack@2.0.5","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-wyPA0RY3BcuU3OwMLYiXemFc3hN9SMdTvvQ6rpzzZZ6qTqszPGAgxF5+m8ygsiXuIV1Ati0hPLbradkNLzFXwg==","shasum":"0cb550981029382084e38d16994e49e876d6ee02","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.0.5.tgz","fileCount":21,"unpackedSize":56867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckO6cCRA9TVsSAnZWagAAxLAP/0DjYrkjqtluNXsKAScZ\nt6t8RTsYap+WZCGgbruKDkWUdaIsiALyS3FLpQCHEyg+CyFbgUUOZvNZ+qfT\nulUDFqUmczyubBCFwImSp6cSgixlgggHynEikim+3Q30Sw4C8OdvkMK5uqHq\nTPKY6rnmTOkBpMf1fDNNAa4moz/2dCoIeyGF7wPhtAdGdNEftZeugrzoMov1\nX+/+TxO6SPm9BVSq2mWqE4jmXI1NIZz2RyR4/rkb4vVGEzNkMScVCt4YnA6J\n1IxJ828nAIIJQqu3D/QlnpwAwwcvCXudbQjUkVKnDwqykrPDh0h9Bcr6FBCt\nZTy2VthHIFD9xzcVj1yllzidmr9mWk+Vo3b3W45xQf3AEw29ukb8H2kpsuTA\nZ+EzY6SNPbG6WCqKHTEoqqYQrJot5Hl43re4kdYO8k1i27TZhCUys/pBn1QK\nSDipF/+FGOKq3gICAuiJpd9VcxBeuR0HUAVXhz60nhV8qhHry4G6z6z45q7/\nQlRgauuFQW8SmB/DyaOvD3nDcGsYq7R7hf5iz8Tsu3PWoenKKWshFMa2F2ky\nKy7LnLI1AjSXGbFOmSQzOmPMTMv/AFaq3TwsZ8tXP/Yf42/udodiqUhOkaOx\nJTdZb0aM9z0oXIRx1EFQUF8FHsijMTDR9U3EK7b+1xZ6iu4X3coM8hpIEvBc\nIRYB\r\n=oi9C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT4r0EvGFWVcAoWKkRxnWcUtpOFMI7LCDB2ErZDDjY+gIhAIm+j0fSm0gacHjO7BFCTRjHfvUxSgxS8cUotFpZoKJZ"}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.0.5_1553002140241_0.38600951282584894"},"_hasShrinkwrap":false},"2.1.0":{"name":"beidou-webpack","version":"2.1.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.1.0","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","extract-text-webpack-plugin":"^4.0.0-beta.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.3","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9","webpack-manifest-plugin":"^2.0.4"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"283fef24abb0ffb63d2bfbede20e379e3458fa7f","_id":"beidou-webpack@2.1.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-sdUWBAf+YO09XJJYcwHcy7coW7ynBtqVe3zL/7lxSbj7mwpsYU4Ed6UbmSVSUEHffWHq9KakKYA2WgFcGzhuTQ==","shasum":"6e0e80581a4e6bc3c9e58c74a3b47df54559c007","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.1.0.tgz","fileCount":21,"unpackedSize":58155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwuALCRA9TVsSAnZWagAAwxcP/RqQCYAFv2i/OknjOmDf\ndjoovoSGVbM04ExHOo80xOvHuoH3pP/sV8flj8kYi9SSoRKmyb+frAMIESVo\nFugDWNE0cdwzsuzOm9LHkaNaitHy3vMgqVQ0cQlGpUyiiVrPnKChcs5yPvHr\nwHB11wT7C2yS3aTr+YRAiKCij161DmWQt4SMTTBIM21SBihSJhBMxKn7qLIM\nn8R24k0a52r2l3WV7wlrR39ztI0eBw7ZpP6rYgpHc3gF4PjFklezCY8po/wl\nmMlyUneSjt0/cTAi9gpAbFOZnE7Qa0UN3npHSGkKNAUPJUsmxs4ZCCVCOMxL\nltW1i5pdHOhjbf7xHR1OM7mFFn2jHmMyEfA/kSsujSZRKamoznyNAybmnwdB\nEvrIelJlkxkQn5QSmV8iU3pxlQhnjPTadwuqpICkzJLayWfAdlJmbS7xe71j\n+aIshvvIlBg0LIEZqcw525ZDldyHZjqfqKG12LUOe9A6YYEScr4A3BZPCn2B\nz9MAD2BzivKV+jQ52O2NZsyuSVMgVWzO88a5c/Pv7Nyfjk+0fwT/GGqf9GIC\nO6dc5wJJW67OuYBuIzE2VReaKt9qibaP+VUB8wkInfDJt8T7bkStK4onHS84\n7YQ5irz24YOw2biajy3G4hW4j4jN8YpLto/8tbnRGFFVShSBU41UXErfcykt\n06cN\r\n=BGjq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIBirD2oIVB4JwaQUJt8c2jDWm1M/ZGf9i8pLxc+nAVq6Ah99nL2mvy2gcvDZvloGmDd3wVGjsCLdnNUTip/ZW5y0"}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.1.0_1556275210492_0.42572484408745614"},"_hasShrinkwrap":false},"2.2.0":{"name":"beidou-webpack","version":"2.2.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.1.0","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.3","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mini-css-extract-plugin":"^0.7.0","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9","webpack-manifest-plugin":"^2.0.4"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"f7317634f6c4980b3e83f9a868e1aaa7ee7fa017","_id":"beidou-webpack@2.2.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-B6HQ/Dqw7GJjNJ3Hs8mtEQDqrhyVTQfi5HEO+RWjskYvaag1mLfr2Rjj0x5DsDftFo9x+uep2qqgLyALNmMHUg==","shasum":"7c87c8ff03c6dfbad303005c21b7361596596594","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.2.0.tgz","fileCount":21,"unpackedSize":58414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCLGYCRA9TVsSAnZWagAADNoP/1gOgJHT2WkOnCSYSadQ\nYH2jM7tinb0iJGu4dxmursE8++eAfnHs/uemJldQQl/ftPlw64IzSh+XRmXj\nD8A/ldbKbpj9VSDqtmKV932NunllAWmBgat+lfm7xIOkh8dhgFlb+IwHTDdU\nn/SDOYwnXbtY2tRfjsqiwBz1q3hnLFEUzuAHx7fWJ9PFZdHjMhwoxZAkINkF\nBgRNQQ6GFtf+8DRkUZM0Pu1j+oguVhk11V5qS2uizIj4pSuOXrF+sI1L/8x2\nyf0GW7nZNBSp0+qpoAOjUOTBYhgDwhjtu6akg3Darq4BGjAHqWIkzCINJ/xK\nWvkwBKId+pLWcxX8k8sptcL8jUBc3Tqb+MITAgbLKPcBUAoWpP+GN/b90//Z\nBwyxoFucvq3eL0Egh7gvRqr+jECW+OLO+A3a76GtSMTGf6Tpdr7E+o+oyG/0\n9x7P84OOUk+2udW5LwRksG5QY62+aR3TFltlHt8/g1IPmftcdULf3KzHEXXz\nUhtwmjveBEni7GFqwt15O495lWA8+Q06V4rd6LMzfeGgGMrk57cZX7OforlL\nSDKmr05K3axnFUwqN+QA9njD54TecALGJ25tdkhAp+Ps1WGrbIhA3RYb0Jqf\naxD6Y1+9nmUKGq0My2dmt1Umt13nGVV8/L6AtAbn8CTlpUmkaKeZrOERYGnV\n0AWs\r\n=iGek\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/163XneD4NEua6Jnz0Er6PE/iLIEUeugwp3qQHM2QUAiBYrNFnvi8+TfREyPOmUZAv1ahudK744m0tJCFNuJigLQ=="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.2.0_1560850839430_0.5308345482005961"},"_hasShrinkwrap":false},"2.2.1":{"name":"beidou-webpack","version":"2.2.1","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"./bin/build.js","webpack-build":"./bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.1.0","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.3","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mini-css-extract-plugin":"^0.7.0","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9","webpack-manifest-plugin":"^2.0.4"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":"^4.5.3","sass-loader":"^7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"d057e8d9250d80be9aa345380c90549aa40ae7c7","_id":"beidou-webpack@2.2.1","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-gxS3yKKM6PU+sKw5B7XEqhokja6y1uwLuyoJskUNKXfhB1RGU3M6cfX/41r/1FG6Ckr+4xMXc+Wtl+11yoFeMg==","shasum":"147c8c2b43f5212f99318acfb513f3e7686e44f7","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.2.1.tgz","fileCount":21,"unpackedSize":59448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDEEJCRA9TVsSAnZWagAA0xsP/RTSxIBzx4asm/p3ZraA\nWvgtkZBhhJzt1fuFsXTJaAT4ZKF30kcJYCOLwmCbdLGVMG+l4MQuOSyUdNpl\nT+zZEwA7zZtbNwufHRKRebgZq44TEtivONc8H770i7UuWOHZ6Ek0SmRiG0Wp\nE9di6+qGQaL9VMqHivpWn0hVk87RnD1U1pyeyFGH8MInsfaUcTlPiebd1v4s\nflKW0yLAj/103wXavFkxA5FWrGrIRizc5bLbxxKM6gKfl9u06zJgwoD662B1\nEjX9+ysJNOKiFkh0uyIb66p/FQihFajq/IzJrQ4DYOpl9f9NMckeroBprE9m\nNfONQUkOlhTQRkaxXchbFn/zybqxnhioJcvC/am2YK47cDxLh1NP0udk0UQ5\nLXJ5mjZgbByKju0LCi7j/YwqihdMWXSZoA3Y0KOPaiC/BJQVJNII+r+4DZrP\nyLBhkiZ0E0U8mhDN8UFe2QAa8MxxYJQBzXN8wwmveFuEtEGiqyzRcyc77A1T\n8yaHccP6ZWmVYIYajUAZNxJgNWGmdYadZr2pIOXAPX97HgCpIbqFkDWavfsW\npntayAf0KzZM9j1S84o8yM4HNMuyw5rcnNJ3/dFVwCZu1MkQ1QbjqDdhy5sP\nUKtQ3lafZ0uLFr0B7poYhgppGZWgmVwM44A3EJaO5VjigYYFXP5rZUYCaMKD\nnYlB\r\n=L5if\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuS4LrWB1C1a8DAf0zHemZ/h47pEy78/UWVCKR782XjAIgQGhJjMtvcZCncyJ4WaMrU8BImzVFLM3+8k2Uax2rE/Q="}]},"maintainers":[{"email":"devrsi0n@gmail.com","name":"devrsi0n"},{"email":"njugray@gmail.com","name":"njugray"}],"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.2.1_1561084168743_0.8465495999362467"},"_hasShrinkwrap":false},"2.3.0":{"name":"beidou-webpack","version":"2.3.0","description":"beidou webpack middleware","eggPlugin":{"name":"webpack"},"keywords":["beidou","plugin","webpack"],"main":"index.js","bin":{"beidou-build":"bin/build.js","webpack-build":"bin/build.js"},"dependencies":{"@babel/core":"^7.1.2","argh":"^0.1.4","autoprefixer":"^9.4.4","babel-core":"^6.26.0","babel-loader":"^8.0.4","babel-minify-webpack-plugin":"^0.3.1","babel-preset-beidou-client":"^2.1.0","babel-preset-beidou-server":"^2.0.1","boxen":"^1.3.0","chokidar":"^2.0.0","codependency":"^2.1.0","colorz":"^0.1.9","css-loader":"^0.28.7","debug":"^2.2.0","deep-equal":"^1.0.1","extend2":"^1.0.0","fallback-port":"^0.1.7","file-loader":"^1.1.11","glob":"^7.1.3","is":"^3.2.1","less":"^2.7.3","less-loader":"^4.0.6","lodash":"^4.17.4","memory-fs":"^0.4.1","micromatch":"^3.1.10","mini-css-extract-plugin":"^0.7.0","mkdirp":"^0.5.1","postcss":"^6.0.15","postcss-flexbugs-fixes":"^3.2.0","postcss-loader":"^2.0.10","q-i":"^2.0.1","request":"^2.81.0","stats-webpack-plugin":"^0.7.0","style-loader":"^0.19.0","terser-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","webpack":"^4.20.2","webpack-dev-server":"^3.1.9","webpack-manifest-plugin":"^2.0.4"},"devDependencies":{"chai":"^4.0.2","classnames":"^2.2.5","egg-bin":"^4.0.0","egg-core":"^4.9.1","egg-mock":"^3.7.1","node-sass":"^4.10.0","react":"^16.2.0","rimraf":"^2.6.1","sass-loader":"^7.1.0","supertest":"1"},"peerDependencies":{"beidou-core":"^1.0.10"},"optionalPeerDependencies":{"node-sass":">=4.0.0","sass-loader":">=7.0.0"},"engines":{"node":">= 8.0.0"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"gitHead":"218112eb300d7b82add9bc03b637e0fc5b482c1b","_id":"beidou-webpack@2.3.0","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.0/node@v14.7.0+x64 (darwin)","dist":{"integrity":"sha512-4WkWlXfmt5wyu+sDxYt+9zjPIIasHB3htWJOZCIk6cQrlLitp+H5qUl3uFyRdagLCyf+tPRnRCfjphEAUTF1Kg==","shasum":"a53185deacd60fa42e011a3cbb3253f6c1767d2e","tarball":"https://registry.npmjs.org/beidou-webpack/-/beidou-webpack-2.3.0.tgz","fileCount":21,"unpackedSize":59930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHhisACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1EhAAh+cisAjyZYvVVHavZQQRSpocDl4ZFgfrx0+bF/NNkAhIvvBx\r\ncaK9bXz6jIPobZ9Wlx0fuOIqKwQVnC00ec6AW3Vi8QKuOMrLTEOov7A6ik/V\r\nB74gxrdlHCtW6MeUG1dbe41s8cIMiUdBlxq+wZI+vhrf5ZmXMYQWfhXnDimo\r\nQl+rDzhEB5X/puPQ+Y6TmOFm3A9TNDzDNyDjxjgY7vvKq+pmnyBpB9N8W67b\r\nauMobfXUx7r1fenpa3pzhUdfKdrgOCYbp2wuwnjlUoGHuNoJ/sVgkBBS8QLG\r\n2fQGRAWqKoey3TObc+xKaK9RKVp8K+Hyj/EqNw6qb9n+w/YcEMvE2aGzN3pu\r\nhuV9IUAG/Kc7lBi20gnUpV+9w84BicBwmypsc9VsCLjVg5gYu+L/JidCm4yp\r\nnzr5rkFt/rYLQcbKtf3DQqgYwwVm7WmJYLbrgvG1QkrnKP4eK0ZhrwHxwI54\r\n6fj7Uy4EByY20hz3CrkKvmeGHQ5HLfWhl9vvBaxlgzazyY6hd7sjxH+kyxpX\r\nD3BaX53rCZNODZgTkJNA9N4ePfLzIorebGrxecujBszHM7mHFS5tTRdV0Ciu\r\nlRAMHm5RZLikuFa0T5G45yJV06hq/ZbCVbmGCTn9gVzMhOnbEuEYRoIialP+\r\nMDmO+qKlO7Cj+jXLeCCNcIuMpqPAgtbkXwg=\r\n=MDAV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbUb3++BcTlSTuhgistzhbC5fFJl3nAQhrbrLKnjDxLAiEAoltv1o3ogBHnWGnWBIqJor887q8hP9XGiKW6OV/eI4g="}]},"_npmUser":{"name":"njugray","email":"njugray@gmail.com"},"directories":{},"maintainers":[{"name":"njugray","email":"njugray@gmail.com"},{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-webpack_2.3.0_1646139564726_0.6536033965868779"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-09T02:11:41.892Z","1.0.0-alpha.1":"2018-02-09T02:11:41.958Z","modified":"2022-06-13T04:30:18.817Z","1.0.0-alpha.2":"2018-02-09T03:03:53.416Z","1.0.0-alpha.3":"2018-02-12T10:52:02.704Z","1.0.0-alpha.4":"2018-02-24T11:25:00.033Z","1.0.0-alpha.5":"2018-03-01T09:29:34.576Z","1.0.0-beta.0":"2018-03-09T11:36:01.573Z","1.0.0-beta.1":"2018-03-09T12:12:08.592Z","1.0.0-beta.2":"2018-03-15T02:35:35.145Z","1.0.0-beta.3":"2018-03-22T02:19:18.967Z","1.0.0":"2018-03-23T06:43:03.246Z","1.0.2":"2018-04-16T11:15:50.606Z","1.0.4":"2018-04-27T13:32:03.800Z","1.0.6":"2018-08-01T03:50:29.645Z","1.0.7":"2018-08-01T09:09:50.118Z","1.0.8":"2018-08-11T09:53:49.870Z","1.0.9":"2018-09-17T06:54:03.359Z","1.1.0":"2018-12-18T04:54:48.789Z","1.2.0":"2018-12-26T06:41:26.232Z","2.0.0-alpha.0":"2018-12-26T11:54:32.524Z","1.2.1":"2019-01-07T12:10:16.738Z","2.0.0-alpha.1":"2019-01-08T08:58:00.320Z","2.0.0-beta.0":"2019-01-11T08:30:11.443Z","2.0.0":"2019-01-16T12:12:10.111Z","2.0.1":"2019-01-29T13:19:52.500Z","2.0.2":"2019-02-27T15:01:44.604Z","2.0.3":"2019-03-04T11:27:47.979Z","2.0.4":"2019-03-13T09:44:55.988Z","2.0.5":"2019-03-19T13:29:00.345Z","2.1.0":"2019-04-26T10:40:10.670Z","2.2.0":"2019-06-18T09:40:39.542Z","2.2.1":"2019-06-21T02:29:28.884Z","2.3.0":"2022-03-01T12:59:24.880Z"},"maintainers":[{"name":"njugray","email":"njugray@gmail.com"},{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"description":"beidou webpack middleware","keywords":["beidou","plugin","webpack"],"repository":{"type":"git","url":"https://github.com/alibaba/beidou/tree/master/packages/beidou-webpack"},"readme":"# beidou-webpack\n\nwebpack dev server for local environment\n\n[中文文档](./README-ZH.md)\n\n## Features\n\n- Serve jsx/js source\n- Serve less/scss/css source\n- Support hot module replacement(hmr)\n- Fast restart immediately support\n- Custom config support\n\n## Breaking Changes\n\n- Configuration fields changed since `v1.0.0`.\n\n  We move to `WebpackDevServer` from `webpackDevMiddleware` since `v1.0.0`. Now, configuration is more similar with what we did in normal react project. For more details, see [issue#21](https://github.com/alibaba/beidou/issues/21).\n\n## Configuration\n\nOnly available in non production mode, you must build the assets before server online.\n\n- config/plugin.js:\n\n```js\nexports.webpack = {\n  enable: true,\n  package: 'beidou-webpack',\n  env: ['local', 'unittest'],\n};\n```\n\n- config/config.default.js **default config as below**\n\n```js\nexports.webpack = {\n  custom: {\n    // configPath: 'path/to/webpack/config/file',\n    // depth: 1,\n    // proxy: null,\n    cssExtract: true,  // default enable css-mini-plugin config\n  },\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\nConfig fields `output`, `resolve`, `devServer` are same as what you know in [webpack](https://webpack.js.org). You can set any valid webpack configs not only those three keys.Changing these fields would take effects in **default webpack config** which generated by beidou-webpack plugin as default. Configs which this plugin self needs must under the `custom` key. e.g. you need to custom webpack configs, you can set `'webpack.custom.configPath'` to your file path.\n\n- **devServer.port** defined the port webpack listen to, you can visit webpack dev server through node server (usually at port 6001) because the plugin provide a proxy to do this automatically. Otherwise, you can directly visit webpack dev server (such as http://localhost:6002/webpack-dev-server) if anything else needed.\n\n- **devServer.contentBase** must be set to `false`, because a static server works if any not `false` value provided, which means webpack responses any request sent to server.\n\n## Custom webpack configuration\n\n**custom.configPath**: defined where your custom webpack config located. An function exported in this file.\n\n```js\n// webpack.config.js\n// Example 1:\nmodule.exports = (app, defaultConfig, dev, target) => {\n  return {\n    ...defaultConfig,\n    entry: {\n      // your entry\n    },\n    module: {\n      // your module\n    },\n    plugins: [\n      // your plugins\n    ],\n    //something else to override\n  };\n};\n\n// Example 2:\n// Note: The config will cover the default config\nmodule.exports = {\n  output: {\n    path: './build',\n    filename: '[name].js?[hash]',\n    chunkFilename: '[name].js',\n    publicPath: './build',\n  },\n\n  resolve: {\n    extensions: ['.json', '.js', '.jsx'],\n  },\n\n  devServer: {\n    contentBase: false,\n    port: 6002,\n    noInfo: true,\n    quiet: false,\n    clientLogLevel: 'warning',\n    lazy: false,\n    watchOptions: {\n      aggregateTimeout: 300,\n    },\n    headers: { 'X-Custom-Header': 'yes' },\n    stats: {\n      colors: true,\n      chunks: false,\n    },\n    publicPath: '/build',\n    hot: true,\n  },\n};\n```\n\n**custom.depth**: define the depth of entry scanning\n\n**custom.proxy**: define the url match for webpack proxy\n\ne.g.：\n\n```json\n{\n  \"webpack\": {\n    \"custom\": {\n      \"proxy\": \"/foo*\"\n    }\n  }\n}\n```\n\nAll of the requests start with `/foo` will be redirected to webpack server directly. Useful when enable devServer.proxy.\n\n**custom.cssExtract**: whether enable css-mini-plugin for webpack\n\n#### FAQ:\n\nCustom configurate method by `app.webpackFactory`:\n\n```js\n\nmodule.exports = (app, defaultConfig, dev, target) => {\n\n  // get the webpack factory\n  const factory = app.webpackFactory;\n\n  // set the value of output in webpack :\n  factory.set('output',{\n      path: outputPath,\n      filename: '[name].js?[hash]',\n      chunkFilename: '[name].js',\n      publicPath: '/build/',\n  })\n\n  // if type of the new value is the same, it will emit deep merge by default;\n  // string type will overrided;\n  // obj:\n  factory.set('output',{\n      hashDigestLength:10\n  })\n  // factory.get('output'): {\n  //     path: outputPath,\n  //     filename: '[name].js?[hash]',\n  //     chunkFilename: '[name].js',\n  //     publicPath: '/build/',\n  //     hashDigestLength: 10\n  // }\n\n  // array:\n  // suppose the old entry value is ['./src/main.js']\n  factory.set('entry',['./src/index.js'])\n  // factory.get('entry'): ['./src/main.js','./src/index.js'];\n\n  // want to override the old value? just set the 3rd param true;\n  factory.set('entry',['./src/app.js'],true)\n  // factory.get('entry'): ['./src/app.js'];\n\n  // modify the output value\n  factory.get('output').chunkFilename = '[name].modify.js';\n\n\n  // add webpack plugin config list\n  // add UglifyJsPlugin config into plugin of webpack\n  // TODO: fix\n  // factory.addPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: false,\n  //     }\n  //   },\n  //   'UglifyJsPlugin' ,\n  // )\n\n  // modify the UglifyJsPlugin config\n  // TODO: fix\n  // factory.setPlugin(\n  //   webpack.optimize.UglifyJsPlugin,\n  //   {\n  //     compress: {\n  //       warnings: true,\n  //     }\n  //   },\n  //   'UglifyJsPlugin'\n  // );\n  // or another method\n  factory.getPlugin('UglifyJsPlugin').options = {\n    compress: {\n        warnings: true,\n      }\n  }\n\n  // modify the rule of webpack\n  const ruleObj = factory.getRule('.ts');\n  ruleObj.options = {\n      test: /\\.tsx?$/,\n      exclude: /node_modules/,\n      use: {\n        loader:\n        app.webpackFactory.useLoader('babel-loader')/** if had the defined loader，use it **/ || 'babel-loader',\n        options: {\n          babelrc: false,\n          presets: ['preset-typescript'],\n        },\n      },\n  }\n  // define the loader\n  app.webpackFactory.defineLoader({\n    'babel-loader',\n    require.resolve('babel-loader')\n  })\n\n  // generate prod webpack factory\n  const factoryInProd = factory.env('prod');\n  factoryInProd.addPlugin(new webpack.optimize.UglifyJsPlugin({\n    compress: {\n      warnings: false,\n    },\n  }))\n\n  return factory.getConfig(); // return webpack config\n  // or return webpack config for prod\n  // return factoryInProd.getConfig()\n\n};\n\n\n```\n\n#### Class Struct\n\n> Class Struct for Plugin\n\n```js\nclass Plugin {\n  object ,      // instance object for webpack plugin\n  class,        // class for webpack plugin\n  opitons,      // initialize config\n  alias\n}\n\n```\n\n> Class Struct for Rule\n\n```js\nclass Rule {\n  opitons,      // initialize config for rule\n  alias\n}\n\n```\n\n> app.webpackFactory methods list:\n\n### reset(value)\n\n#### Parameters\n\n- [value] {Object}\n\n#### return\n\n- this\n\n### set(key,value)\n\n#### Parameters\n\n- key {String}\n- value {\\*}\n\n#### return\n\n- this\n\n### get(key)\n\n#### Parameters\n\n- key {String}\n\n#### return\n\n- {\\*}\n\n### generate {key} factory for webpack: env(key)\n\n#### Parameters\n\n- key {String} factory flag\n\n#### return\n\n- {Object}\n\n### Get the final config for webpack : getConfig()\n\n#### Parameters\n\n#### return\n\n- {Object}\n\n### addPlugin(args, options,alias)\n\n#### Parameters\n\n- args {Object|Class|String}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### getPlugin(filter)\n\n#### Parameters\n\n- filter {String|Function}\n\n#### return\n\n- {Plugin}\n\n### setPlugin(args, options,alias)\n\n#### Parameter\n\n- args {Object|Class}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### definePlugin(args, options,alias)\n\n#### Parameters\n\n- args {Object|Class}\n- [options] {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### usePlugin(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {Plugin}\n\n### addRule(options,alias)\n\n#### Parameters\n\n- options {Object|Rule}\n- [alias] {String}\n\n#### return\n\n- this\n\n### setRule(options,alias)\n\n#### Parameters\n\n- options {Object|Rule}\n- [alias] {String}\n\n#### return\n\n- this\n\n### getRule(filter)\n\n#### Parameters\n\n- filter {String|Function}\n\n#### return\n\n- {Rule}\n\n### defineRule(options,alias)\n\n#### Parameters\n\n- options {Object}\n- [alias] {String}\n\n#### return\n\n- this\n\n### useRule(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {Rule}\n\n### defineLoader(alias,loader)\n\n#### Parameters\n\n- alias {String}\n- [loader] {String}\n\n#### return\n\n- this\n\n### useLoader(alias)\n\n#### Parameters\n\n- alias {String}\n\n#### return\n\n- {String}\n\n* **app**: the `BeidouApplication` instance, usually used to access server config.\n\n- **defaultConfig**: default webpack config generated by beidou-webpack.\n\n- **dev**: `true` in local environment or `false` in production.\n\n- **target**: `browser` as default, defined by `--target` argument when running `beidou build`.\n\n## Entry\n\nWebpack entries in default webpack config is generated through a file scanning in `client` directory.\n\nScanning behavior becomes much different for different config values of `router.root` and `router.entry` in [beidou-router](../beidou-router/).\n\n- **router.root**: the directory scanning begin at.\n- **router.entry**: only files with name match the `router.entry` will be treat as valid entry.\n\n> **Notice**: The Scanning only process at most depth 1, ( only ${router.root}/${router.entry}.jsx and ${router.root}/${dir}/\\${router.entry}.jsx will be found)\n\n## Building\n\n**Usage**: beidou-build [--target=browser][--dev]\n\n## Fast restart\n\nType `rs`, then type `enter`, WebpackDevServer restart immediately.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}