{"_id":"beidou-cli","_rev":"30-97a62e773d11475eea1890f0471675e8","name":"beidou-cli","dist-tags":{"latest":"2.3.0","next":"2.0.0-beta.0"},"versions":{"0.0.1":{"name":"beidou-cli","version":"0.0.1","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.0","urllib":"^2.25.4"},"_id":"beidou-cli@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-fouPCEsxffVSayqCLhekSvPlsBmmodD5oGLGliSmpWy0MlOw5v8thWVPKiUocRarxId9vb+/k1yLSuX9JkS9Mw==","shasum":"3d35b3154823678070d827d25cd0cd341ab172d2","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-0.0.1.tgz","fileCount":16,"unpackedSize":17313,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1nn6F8OWeFnvg0+Q698N8vdOaXS2bau5Pn36msv5DdAiEAogrChATC89tmz2VrsTFVRumMCiI+PMjljjww8XgLXOY="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_0.0.1_1519715571275_0.5783702180060688"},"_hasShrinkwrap":false},"0.0.2":{"name":"beidou-cli","version":"0.0.2","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.0","urllib":"^2.25.4"},"_id":"beidou-cli@0.0.2","dist":{"shasum":"545a959750be84d971ce609e80dcfbc1418af019","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-0.0.2.tgz","fileCount":23,"unpackedSize":22928,"integrity":"sha512-LMQN6Yd9gbsrnzCO3hrQBWWGTGeMs9UrpzzKZJ+6By6OL+cFFX+T9q03L3jcwyh7A79qvf/ZyNmRnhQ5AQd4Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY2eJveA61t+IIcgFN/JxqNGr3YmxLBQfIGoDLTTuSgwIgDtawAdz299vTrgmFxUD7TNjBAurcoMA0BOtD2CtPA54="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_0.0.2_1519718098936_0.2766727445144206"},"_hasShrinkwrap":false},"0.0.3":{"name":"beidou-cli","version":"0.0.3","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.0","urllib":"^2.25.4"},"_id":"beidou-cli@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-OvS4t64xXVFZspDDOK0bWU3AVNGNQED5lcJeWn0yjjoydQ+VzZLMX2Ybqtoj0wZO4Ix4jNt8WAkMwBYSkwXKRA==","shasum":"c9dd230f17f591730c051e8522ac9b0ce8f99bef","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-0.0.3.tgz","fileCount":17,"unpackedSize":22935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2jfNA83TptUDu4TxgftqtDgS9QgBUSvFpfPBu5sY3+AiEA/s6j4sQgpJiyZu5vC5sI9Sa1pv0yKaxPfzgABQBUoLI="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_0.0.3_1519718628646_0.1973168697857477"},"_hasShrinkwrap":false},"0.0.4":{"name":"beidou-cli","version":"0.0.4","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.0","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"_id":"beidou-cli@0.0.4","dist":{"shasum":"15a71e67cab54706c40b2af7ccd9caeb111bbc19","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-0.0.4.tgz","fileCount":23,"unpackedSize":23445,"integrity":"sha512-0LpidshTAzZHPW4J08kyS0wPfFfGlblXceE1ftaaX/fsJtyS8VDUjrqA3dq/IClxNiUfrqtaOO1M+iU2bvKM8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVAqc6Obm4Zs88+xn9qsQJAqUZoU4DdLiX0lhSq4JboQIgelqLe8gbmHJg8yjrWa4ZFKjRQwZT/QMHlI6QgccFQRU="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_0.0.4_1519719621917_0.905521530892557"},"_hasShrinkwrap":false},"1.0.0-alpha.5":{"name":"beidou-cli","version":"1.0.0-alpha.5","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n* global\n\n  ```bash\n  $ npm install beidou-cli -g\n  $ # or\n  $ yarn global add beidou-cli\n  ```\n\n* local\n\n  ```bash\n  $ npm install beidou-cli --save\n  $ # or\n  $ yarn add beidou-cli\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n* `--debug`\n* `--inspect`\n* `--harmony*`\n* `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n* `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n* `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n* `--baseDir` application's root path, default to `process.cwd()`.\n* `--port` server port, default to `6001`.\n* `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n* `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n* all `beidou dev` options is accepted.\n* `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n* `files` is optional, default to `test/**/*.test.js`\n* `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n* `--require` require the given module\n* `--grep` only run tests matching <pattern>\n* `--timeout` milliseconds, default to 30000\n* `--full-trace` display the full stack trace, default to false.\n* see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n* `-x` add dir ignore coverage, support multiple argv\n* `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n* also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n* **Arguments**\n  * `baseDir` - directory of application, default to `process.cwd()`.\n* **Options**\n  * `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  * `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  * `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  * `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  * `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  * `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  * `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  * `timeout` - the maximum timeout when app starts, default to 300s.\n  * `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n* **Options**\n  * `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n* **Options**\n  * `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-cli@1.0.0-alpha.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-ASbl/9ZehXuqEwLQ8yXVhvoFtaPaaQClNl+z2696DTHmTZgMSpqtOhUDkpvivautVUOqSRkj+3OHELmsmsdzIA==","shasum":"9bcb7c93f13425428002fe2acb5fede7f210176f","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0-alpha.5.tgz","fileCount":17,"unpackedSize":24108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERkBktnAkO2n3eGCMmMHmGkbMVXebaaBPw4hGA8FricAiEA2tmmpi1Z/Ts1IXEPPddSAMh5xXu0pfOl5YsWXBar2vg="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_1.0.0-alpha.5_1519896568216_0.6165607417086272"},"_hasShrinkwrap":false},"0.1.0":{"name":"beidou-cli","version":"0.1.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@0.1.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-YI3s9bjrM5ZLmqSvJJFpfhXTbF/JslhrJN+ajoMP3aIcQgDozuncK9HIdRi3uErc+r9UOO4WxHtZ4JykMFRffw==","shasum":"89711cfed68a62d5e228dc3d55f7b78df79e3b33","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-0.1.0.tgz","fileCount":17,"unpackedSize":24100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoFgrvwQz8lsbgFmSAD5Yd09kV0T5mErsQWJAO1MyKWAIgRTDnMqSP49gyLTi1/jXHNsXWEMBFZKNT72F/gqd0MZw="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_0.1.0_1520386902600_0.068797817185422"},"_hasShrinkwrap":false},"1.0.0-beta.0":{"name":"beidou-cli","version":"1.0.0-beta.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"readmeFilename":"README.md","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n* global\n\n  ```bash\n  $ npm install beidou-cli -g\n  $ # or\n  $ yarn global add beidou-cli\n  ```\n\n* local\n\n  ```bash\n  $ npm install beidou-cli --save\n  $ # or\n  $ yarn add beidou-cli\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n* `--debug`\n* `--inspect`\n* `--harmony*`\n* `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n* `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n* `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n* `--baseDir` application's root path, default to `process.cwd()`.\n* `--port` server port, default to `6001`.\n* `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n* `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n* all `beidou dev` options is accepted.\n* `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n* `files` is optional, default to `test/**/*.test.js`\n* `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n* `--require` require the given module\n* `--grep` only run tests matching <pattern>\n* `--timeout` milliseconds, default to 30000\n* `--full-trace` display the full stack trace, default to false.\n* see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n* `-x` add dir ignore coverage, support multiple argv\n* `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n* also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n* **Arguments**\n  * `baseDir` - directory of application, default to `process.cwd()`.\n* **Options**\n  * `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  * `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  * `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  * `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  * `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  * `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  * `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  * `timeout` - the maximum timeout when app starts, default to 300s.\n  * `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n* **Options**\n  * `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n* **Options**\n  * `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","_id":"beidou-cli@1.0.0-beta.0","dist":{"shasum":"58318d9bffc184746c3fab841333fcd57a683aff","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0-beta.0.tgz","fileCount":57,"unpackedSize":219620,"integrity":"sha512-lEH/1QIpEiqoS48HKoJHIxcEMlsmHM3YeidmwDJ19o6YfyZP7caL4OYklVR3yBZVO/4WCoQ9WJEzIzYC8u528A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqZljHZgWwhNrph+A78eu/96ZXo0euXQzjIxlvx1kFoAiAxPimih6ogWjeU0WDb8LZ2jr/4EiagT3QcB0LzoMUhnQ=="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_1.0.0-beta.0_1520595356896_0.39711971872845786"},"_hasShrinkwrap":false},"1.0.0-beta.1":{"name":"beidou-cli","version":"1.0.0-beta.1","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"readmeFilename":"README.md","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n* global\n\n  ```bash\n  $ npm install beidou-cli -g\n  $ # or\n  $ yarn global add beidou-cli\n  ```\n\n* local\n\n  ```bash\n  $ npm install beidou-cli --save\n  $ # or\n  $ yarn add beidou-cli\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n* `--debug`\n* `--inspect`\n* `--harmony*`\n* `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n* `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n* `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n* `--baseDir` application's root path, default to `process.cwd()`.\n* `--port` server port, default to `6001`.\n* `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n* `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n* all `beidou dev` options is accepted.\n* `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n* `files` is optional, default to `test/**/*.test.js`\n* `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n* `--require` require the given module\n* `--grep` only run tests matching <pattern>\n* `--timeout` milliseconds, default to 30000\n* `--full-trace` display the full stack trace, default to false.\n* see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n* `-x` add dir ignore coverage, support multiple argv\n* `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n* also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n* **Arguments**\n  * `baseDir` - directory of application, default to `process.cwd()`.\n* **Options**\n  * `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  * `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  * `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  * `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  * `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  * `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  * `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  * `timeout` - the maximum timeout when app starts, default to 300s.\n  * `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n* **Options**\n  * `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n* **Options**\n  * `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","_id":"beidou-cli@1.0.0-beta.1","dist":{"shasum":"354c363fa70fe6eb125748cd4412d9f2aa2d031f","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0-beta.1.tgz","fileCount":57,"unpackedSize":219620,"integrity":"sha512-5rsNbUQLf8yA1NnzoOX6fXKS7yw09YNzM9oPZNYYyPVaCHaju5m30mTcWtiJFy7rRorIvDuag54C2d2avFi2vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETsN+hE8qnOW0bqFQVx777zUUpDTXGEZxgjT+41tyAgAiBWKSODDGxcmgMhJFLgYsGXqAZUhkA6ut25CpK+al8oaQ=="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_1.0.0-beta.1_1520597522838_0.957229412312268"},"_hasShrinkwrap":false},"1.0.0-beta.2":{"name":"beidou-cli","version":"1.0.0-beta.2","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"readmeFilename":"README.md","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n* global\n\n  ```bash\n  $ npm install beidou-cli -g\n  $ # or\n  $ yarn global add beidou-cli\n  ```\n\n* local\n\n  ```bash\n  $ npm install beidou-cli --save\n  $ # or\n  $ yarn add beidou-cli\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n* `--debug`\n* `--inspect`\n* `--harmony*`\n* `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n* `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n* `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n* `--baseDir` application's root path, default to `process.cwd()`.\n* `--port` server port, default to `6001`.\n* `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n* `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n* all `beidou dev` options is accepted.\n* `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n* `files` is optional, default to `test/**/*.test.js`\n* `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n* `--require` require the given module\n* `--grep` only run tests matching <pattern>\n* `--timeout` milliseconds, default to 30000\n* `--full-trace` display the full stack trace, default to false.\n* see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n* `-x` add dir ignore coverage, support multiple argv\n* `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n* also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n* **Arguments**\n  * `baseDir` - directory of application, default to `process.cwd()`.\n* **Options**\n  * `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  * `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  * `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  * `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  * `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  * `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  * `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  * `timeout` - the maximum timeout when app starts, default to 300s.\n  * `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n* **Options**\n  * `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n* **Options**\n  * `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","_id":"beidou-cli@1.0.0-beta.2","dist":{"shasum":"d32e65d9afef0f585c23f692cf67f854c881ec4b","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0-beta.2.tgz","fileCount":58,"unpackedSize":220403,"integrity":"sha512-YWWT3QphJGvkZfOxEacDi1LG52JrQKUiBaDVYZNoEvArrts+6s1QVFrgZhPPCDhFf1P5OWEd94W1/A6mVcNDYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8CraMBNaZVMR9pGesI4/o9zw8mwKMCpyuajgKG3W/yAIgUGlPT5eodrPnz3N6i2nWiRECXNnS+GNY83gFT4neUps="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_1.0.0-beta.2_1521081297225_0.7589752038800595"},"_hasShrinkwrap":false},"1.0.0-beta.3":{"name":"beidou-cli","version":"1.0.0-beta.3","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.0.0-beta.3","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"devrsi0n","email":"devrsi0n@gmail.com"},"dist":{"integrity":"sha512-sOg5/EEuMlC2wB6GrX/UQIts8Wca4p/THkIaxPR9I4ctrwvFQejA+6JQ3nQ0RBYirb1fGsynwL3gzKcYeIhiKw==","shasum":"3cb45a3cf232efe8a1d88fa62f7b543ed27e3c62","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0-beta.3.tgz","fileCount":46,"unpackedSize":228391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExt+kgLq6Y1w/JA3Vh//m2AVgTiY9ZvwFGlWTEzIe5nAiBwFqe2ffvtjuS1ldtBYyQ6uq8mIQvvVLvZEiZTtCIp8g=="}]},"maintainers":[{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/beidou-cli_1.0.0-beta.3_1521685067744_0.8979550345457481"},"_hasShrinkwrap":false},"1.0.0":{"name":"beidou-cli","version":"1.0.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.0.0","dist":{"shasum":"2a7fd64000ba6d55d299bb3f59437d305b20cc97","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.0.tgz","fileCount":59,"unpackedSize":228384,"integrity":"sha512-FSyCT5aizlcDS9l1d3cQsXKFoA4sEBwTpSQ6vPLFj8HMExpcelfOoXa/l24TLhv0IykTzUGE9ZZf7/rJnOmyag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdWWKl0+LvkaqCyBF0texllXzrL8YI9j3Fx3Ay8/nQcAiEA/lqyNzf5ChzAZrqTUGfLF+Jxce+q8Ss35wKiEttyeyo="}]},"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-cli_1.0.0_1521787377451_0.32835336951981575"},"_hasShrinkwrap":false},"1.0.4":{"name":"beidou-cli","version":"1.0.4","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.0.4","dist":{"shasum":"efeca662d981e996d503b6ee7848c4c60c0db160","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.4.tgz","fileCount":24,"unpackedSize":25690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4yZUCRA9TVsSAnZWagAAXgYP/35hb50shUXD/B9unG5r\nYR8LPIgS5hgKo88TzhTIMIDVoo/E30/vZTT4b9zRLbP6tXMxG2LeGM/Z6mvI\nR6y7EVmz1IVp7uiBInLLmrOU9H6tI4Iee0DPlHBeUT6ZJSb+pCLdP1MNJ1rR\nFizhAKrL3qldXqKLzOfPzCrYm+azgtX/RhT4RD6QWN7KUjm64B82DtfK8rVF\ntlZTq3WuuXFIpY1qlGddRZ62d3S8gvfOXKAWxd/gr8tKIeq+LoBXdblJhRkR\noFJ0r0YqX1xhX7q80ip1lGXRn3orLSP82LkDDWV0wAV3nI8dc/7FrLWlZHfD\n0VbfdkdtCfHnKpJrE7CUOQs44qe9koZdcIudJg3F0e0neRvgyQZ2mAyL9vPv\n5bfhFG8BHU4+ESHNKpB4/s/vDRdI8On12wjVW6qgQNzJKYq7NreCmRRomOAt\nBpDz8SevkBWxKFMpKyN4gw58J1ngwHF/KOY3V2kunTfjj9RY1M5HPYkqwcGs\nfpAaMm88r6Y0CwZeX5gm4i46Qm/aAlpFAWh7L5GVhNR74Vyvg/vnpyLX6qaX\nAi/79hCUmaP67txfisWktd8XeR78Pfcu0ZLJtkVPDO1sijOSH89MR4ta6y3z\nWhfRi320JhlLM9iL739Jbt3O64WMCbDBp9irdDpRv6xLe1+n9BMQNrG9A9wZ\n4V/F\r\n=TDIU\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-F03LInOO1Rda5DyqwOJIxJUQE/BxcA7A16P/nYgxAK8YdLYMe2M9wmX8qJJORhvPtDGaaJ6fgdMBrSKgzLuHfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQRhHGPnJVREObRiLKNTJXisBE08UxlmgZwFJk111JEgIgOx9quG3OWuUhO62iGFP6b0G6VjlC392+N8YyINj6N/E="}]},"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-cli_1.0.4_1524835923888_0.37726977900184266"},"_hasShrinkwrap":false},"1.0.5":{"name":"beidou-cli","version":"1.0.5","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.0.5","dist":{"shasum":"9dd089ca539524cacb113376ac61116131f79682","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.5.tgz","fileCount":25,"unpackedSize":26190,"integrity":"sha512-Z5Lde1+51YTfP6E20qYB20LXvlvcKlFzT5Zmb0RdgtzenwMAFIxZhn3xVMYKShYKkroSBEdq8z7lIpM07LLGpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs4WdpALTbHbGEfrptkw+bkZOC6W9We46mNRW1BytAkwIgB1FU8/zRSCf0aYQRajACp7zsaKDiKgWbzlvwxeyXN8M="}]},"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-cli_1.0.5_1528986350792_0.9909105353450343"},"_hasShrinkwrap":false},"1.0.8":{"name":"beidou-cli","version":"1.0.8","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.0.8","dist":{"shasum":"9c7e945b464e28fb73f1735433920b9aa73d8515","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.8.tgz","integrity":"sha512-GT37lvkcCSaU5PZUFempj/6F9r3AhNQ2gzRmkFet4nL5R2FXwzQiz4vRAbjjvrIifltyjd5BU7KZ8gJeh9KVrw==","fileCount":25,"unpackedSize":26355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbrIfCRA9TVsSAnZWagAAz1gP/iiiJ69sd7GKS3951dEA\nguTH8pzZUFTdVJMTMqqLTnB0P2LBmuC47xEOlCuEQrypmJXG7kGqZypbuXdX\nGDb5CQUAce2c7YX+bV3ynnn09ZxsPMSg/AYIuj8FUX4R3zuGmwq/FersF64G\n9WG2RzZ8rViW+Q2hhUpa3tiqbA8rYTths3Sf4Yq5gdUQOo3+FwWSleKyMWf2\nQ78q3SzlbHVBwnLXpMH5sjnRSGLPn+bc4rm4XZeuMtysw9Zr9WiJWerAnKkj\nLU6spUCdj1BsUBA3u9fHNwvFYacGqzR2oM6cj96GWjXN527lmxnCdWzBkP5p\nR5lgQAu+tIbRUxWTT4XjpurJN4c3GDozBahsK9qZ4ZT6RJTIDkuxMwDjh03w\nAlgRfMQprDfIRMgBA2PNmTupQZiptN9MPKlWRPSU1vBE3qwECsi3mN5YVuWp\n7Qw8M2+QwCGKPEtdtTU5r4B/XIaTnX0AwxDEdVhkU7QulstHp0A7CD1LAEFX\n2+99RtDKnql7g2x4TTSrpxM3gnNhgQW/IwckOoTEW4/TEZQgit9cz2ai+0GW\niW50GO1vY1Qz2blaYrX8E8Lnn7P/APVNgzUSYX1UbcEwbhvlyqSTbPZjHB4c\npQ0q7rtjixhwdsiHyP9/u//aAlLzne5Q318z9+Xo1Z4UrTHMf4qJa6S6yStO\nG3vC\r\n=aoUS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLbrP85FuQy/3e9X0GrPJnGO96TYP+/gdMN7DdNkjV5AiBUIbb5HXrIPC8ea4YgGp1xuNiaWZ/cyL7nH1QUIeCybA=="}]},"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-cli_1.0.8_1533981214544_0.7391983809113107"},"_hasShrinkwrap":false},"1.0.10":{"name":"beidou-cli","version":"1.0.10","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"gitHead":"95b69959800e13d95e4ef0a3e9849f7b377aab7e","_id":"beidou-cli@1.0.10","dist":{"shasum":"b63c8123c74424e78866288bec873a1e8ca2f87a","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.0.10.tgz","integrity":"sha512-QvZsU/oj3vGrfQ9D3gz/E3ypqqRjDSbDWlJgl6Q0tt3An9f6pm4Hy5+EsNZAw8lQAJSzR/pagOuTVeNeQVU25Q==","fileCount":20,"unpackedSize":27616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9MmwCRA9TVsSAnZWagAAeaAP/jm9nb78vXOPMTjOvFiJ\nIFITf+jgTAQWdWCmW7P+aOTK+CLTnRl8zIVbBxDqUsrRu0eBfhWWARzTPhHl\n9L9ukFvo1BenDXwTuIuPOv0h0ESUMAlGAyBsvqUYXmmkdEHcySOaYXA3DbRN\nLBzHAHmzKBVfsZ8Fi6UepgvnjpFcSzMxK6b44UvubtWqvGeqIb8zv78LeVJj\ngM+wnFSCnmR7J7HFn+0naglcRhETTDq9Puq6MUCeMWIrNlJ8HA+npVPtnkDE\n0LyIPDf+oVu6obzkIqFDpFRwtSLMJ7OghmvZzYKW/VlF4qTRQuS9tppbolWM\njzFqpxz1+jdpEA4lslVwJv8QWiGydfwg1JX7y8F+wif/uXwRZRfneBkRE4Mj\no7eLSC3GLJ4OHoMAenIk6ZlqhCw1YatvfewCrsS4qyXXs/eqOAtlD8H8k1jT\nCahE96AxkUPgjJ3AfElfRrEbanZvyy+lX+dUHkRv5F0wv0BrJQV0BrDHJlet\nGSBJFTyt/vJHG1jZ4uKseH6KYTB1p3IQFpH93llG8kNKABFyij3zC5yJkase\nlb8g7qtc5i3evakW6jv+mcdxf3E6J5FnIYfyfe87Z6JW8QNuofpgOrHNMcXn\naKSzglAuBHpnf2ZdkRFhM+EAk96o28Ua+05y4bBZGMsap5kByHUwXDLVJqJj\nu18u\r\n=p43O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDkjAwE6xOHT/QpdCK3ETPn04qspz0JPtllPwvt2j/WAiB+y3WQ+ihX6VPjMGU3Kh7S9zGJiztWclq7eR4iHs//gg=="}]},"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-cli_1.0.10_1542769072057_0.9769808062268197"},"_hasShrinkwrap":false},"1.1.0":{"name":"beidou-cli","version":"1.1.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"_id":"beidou-cli@1.1.0","dist":{"shasum":"8458d4cc733463098caf40b5cfa95d8b3efb74db","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-1.1.0.tgz","integrity":"sha512-EB8bnrNl5NB1F3CY3d167M8ombDvrLWuoJd0rqKB5XAPdaJEYOneJl1jGvSTOLCj8/VqIWomEmbfArxniRNHEg==","fileCount":26,"unpackedSize":280807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGH2PCRA9TVsSAnZWagAADSUQAJhCYs0UoCIYfgS3eSiJ\naB9/TjsU8OZ6DczZdEM80SO//sR7o9BJR0McjNuwQSERUiGrBhuAAqjLu0r4\nsT7WiU/l88tWiuyeCEpzMqjoptpZBwXs2dojM9oZQDSI+2/dXHtWzXDb98DQ\n+Zko2JEnznmY0qXD45q3xYc7cloAS8lZ2LKmVwvVT4RLbaLEGitIwtjdO4v9\nnfqKFj3Ad3K4TevZpMT3u2CNQd3PEMqM2hUVbgSpiPiKPUC1DDhQmxJP59s4\nrT4ILRdTJrHyQe+jAtihwJ9WhMkETGltzhnzw4QztbFyPcy/wbiIqifYYVeF\nmegBdJGIPbzshZaHB7MNFXjuPsOAqhKZl9GqZ7PTi5foKhTe3cI4Fbgpf/Yg\nvmmg+4S3c/Dys6Uux8I9/37tvAOzOyu2//z1hzxZcGhfSHlT1O8ztUxZBYOn\nC8TGG0R3sccUeoB3it6HgZqYrNzWpKWVgDvfyolnkbS8WWAWyJhbe9md5oxK\naJuQnzuVOBhYyQqFys+BWeaokMf897Awe0C1sBnbErQV4xY9RaZWyFdIlHTt\nLGnEoAZujerSv99ETPlCrKkqJB5U6kGgXd+0aumu6UYSA7Lv+/lvrMxmf8et\nqloeTBkKh3mQdOmEXvoZ4gWCir34ldcP1y0MO3QLiUDpBKKSEcAYOtzR0DTw\nzZ3e\r\n=PBmu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+X0//MZeW+2NhjNSy9pkqrS7nSpRIh9rkEKGGshuoTgIhAIjA8yTXs1gdjgiPnWwj9qEHdmyfdPYGR3AN711PqzdP"}]},"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-cli_1.1.0_1545108878821_0.027176418850246353"},"_hasShrinkwrap":false},"2.0.0-alpha.0":{"name":"beidou-cli","version":"2.0.0-alpha.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate"}},"devDependencies":{"coffee":"^4.1.0"},"gitHead":"d50bc91db479f2a693ef4e34d392d123aaf1738d","readmeFilename":"README.md","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n- global\n\n  ```bash\n  $ npm install beidou-cli -g\n  ```\n\n- local\n\n  ```bash\n  $ npm install beidou-cli --save\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n- `--debug`\n- `--inspect`\n- `--harmony*`\n- `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n- `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n- `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n- `--baseDir` application's root path, default to `process.cwd()`.\n- `--port` server port, default to `6001`.\n- `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n- `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n- all `beidou dev` options is accepted.\n- `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n- `files` is optional, default to `test/**/*.test.js`\n- `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n- `--require` require the given module\n- `--grep` only run tests matching <pattern>\n- `--timeout` milliseconds, default to 30000\n- `--full-trace` display the full stack trace, default to false.\n- see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n- `-x` add dir ignore coverage, support multiple argv\n- `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n- also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n- **Arguments**\n  - `baseDir` - directory of application, default to `process.cwd()`.\n- **Options**\n  - `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  - `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  - `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  - `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  - `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  - `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  - `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  - `timeout` - the maximum timeout when app starts, default to 300s.\n  - `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n- **Options**\n  - `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n- **Options**\n  - `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","_id":"beidou-cli@2.0.0-alpha.0","dist":{"shasum":"928b5f8a5a0211d65eb18fdea8666ea35ba3e12e","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.0.0-alpha.0.tgz","integrity":"sha512-el0TDftevNRu5NpmesyfMEFYa+Pnz7yYHjjlERTdQp0cy9PdOwrXnj4gdt7M6aB2SMOsG6Dclwe68YCgTvsFtQ==","fileCount":20,"unpackedSize":28031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI2vuCRA9TVsSAnZWagAA2l8P/3UrEaJ7K3D1biyj7vmX\nl/1FJLcWuengyMyhcNVFCmdF/F7VfBDpyLxwud4EsZQZ6NfLtLezOYva5HjG\nIxCapIB1oy9I3ioSKe/XtqkbBrIkR7+57+YRkxlDlANBZb1XsjTj+KNChSoV\nHi9XvwQJq3705hAK7lrZyEHPDwWVCaq5c/5AlIcr/CtOyDiiOMZakLCvHLh2\nsa0q6Esl+XL+NcxxR3rI9VglRI0cdayv1YBtq1d+HxjeZo/Je+D49GdcVe0M\nN9fXCTK5wLntRwFdHxCbbCGWsqSoaMAOVUkfJ7olJcyEY6+0AQjpaYeNcslP\n8a5b5r+8P9eHsOE1jEw8buUS+F8JZq/Irnctwa2hdBukuA8GMWA68Z/2t2Nt\nV7yMUV8DWgioaOhRYqGKhIcqBHvo4j1nlfMUqsTSlIjvOMvLzKW9tgjGE2HP\nFQYFwmIZbvv+yXLl/cm3Klm60/YVFcQyDO8ddYKZfz1xHnPGzz41f1l/ad4S\n5cLOOGR2z0iNjrKGg4l48KESIZSHhl8joH1pghT+cvaFce5Bg9a0d9xp/j/2\nx87hOQAU+vCGknKW43oHX0Pb+D7fjRJvPpCsWQIjidMEyz0n2g9DSuGgjW/K\nGURjD2DIm4lkGnQdKLANWlLdWnF/TjotRGHNu/cNXiBdbDy7Wkqp1EAm9P2P\nctIk\r\n=da0w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5JB4X2ScAedzLWGAroQmPsCZRba3eUt2NOMKHAQj+kwIgG9tiAInoW0uVIY9lwLZDIIbSDT2v86b3NPc94SiPhmU="}]},"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-cli_2.0.0-alpha.0_1545825262262_0.1400911181199238"},"_hasShrinkwrap":false},"2.0.0-alpha.1":{"name":"beidou-cli","version":"2.0.0-alpha.1","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"next"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"next"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"next"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"next"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"next"}},"devDependencies":{"coffee":"^4.1.0"},"gitHead":"0f281a0562e768556e4b68483801c80254ecca8f","readmeFilename":"README.md","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n- global\n\n  ```bash\n  $ npm install beidou-cli -g\n  ```\n\n- local\n\n  ```bash\n  $ npm install beidou-cli --save\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n- `--debug`\n- `--inspect`\n- `--harmony*`\n- `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n- `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n- `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n- `--baseDir` application's root path, default to `process.cwd()`.\n- `--port` server port, default to `6001`.\n- `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n- `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n- all `beidou dev` options is accepted.\n- `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n- `files` is optional, default to `test/**/*.test.js`\n- `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n- `--require` require the given module\n- `--grep` only run tests matching <pattern>\n- `--timeout` milliseconds, default to 30000\n- `--full-trace` display the full stack trace, default to false.\n- see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n- `-x` add dir ignore coverage, support multiple argv\n- `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n- also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n- **Arguments**\n  - `baseDir` - directory of application, default to `process.cwd()`.\n- **Options**\n  - `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  - `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  - `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  - `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  - `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  - `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  - `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  - `timeout` - the maximum timeout when app starts, default to 300s.\n  - `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n- **Options**\n  - `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n- **Options**\n  - `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","_id":"beidou-cli@2.0.0-alpha.1","dist":{"shasum":"417c9c3e6490d2e4d7752000de66346de2585305","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.0.0-alpha.1.tgz","integrity":"sha512-yU2oXUJ9u+A5aUYIUPdJCMcYGUxPEqrlKjmAZ9TCmeaUcH46JkUkNOwZAiB8sj2LWNgf+hZ5zWmJIBHAuEokew==","fileCount":20,"unpackedSize":28329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNGYMCRA9TVsSAnZWagAANyUP/3BHHbI+aZCSo6N88AmY\nyaQPyvBh8sisFD8pUQx3Vpq0S/dkppXrfNVy40CY3q0i+wxfOekhKsj3NW56\n64nPZ3tPPFgP/CHZRITo8dEhSeld2lIExzc+2TZHTIMXcYuo2UhsCnYNRdQa\n2/RUUPybyZ6eIjlNk/+XYoP0Ma5ueiXk3aAM/ETb1KwRwib6+K8O1qpRQQ2L\nsHnw9d1U19CprmDBbAGzfcszDsl9LqrsIxRlfHFtr/xI73BDN+pvD9dMm2Sk\nZDWMgptqWvRFXCArdL0QvefNG3KCTMB/mXePn5cQm2FYqizZVtzNwTVKM65r\ngRKRq5fWfgvyEyFATJgwWnwA9uW+Hb2NGoDHlILI6jK4J7XjZA+3R9VH4zxu\n/rc0aAcbDd9Ub4kc0oi3eXTZJoMdlMTXy2WHWASuULdnbaA7/UmOPDxfKh7x\nASH4rU2BWb5BwoJ/hswi8ASm6jF3MaC3RJERj+0sNlSEc+jGjEFebETRxlAO\nabHWZeqsfCtELPfXF8mK2xtpDI2AasURawKKnmcRAVCYIOA5TksFCvoh55Sm\nvweVOrBbY7s3+iinDhuAnhtQHglhXy4FxeZDrmMwRIfkxwh1NFoC1BsmzmoI\nh3gv11PVt/p08x6A3mEGP6oLOS/H0ynX2qCmzpsghrtrS14LKE1dbT9JLe8q\nRFHr\r\n=pglg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFiYeSP6Hl/qsSdNLGeK1u60xCjNQ0j4ryq9kEzjUwzsAiAqfClubw09dCviwIx2T9m53etQzb/5U53ycYOK9OB/wA=="}]},"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-cli_2.0.0-alpha.1_1546937868301_0.2576478445417789"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"beidou-cli","version":"2.0.0-beta.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","egg-ts-helper":"^1.20.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"next"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"next"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"next"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"next"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"next"}},"devDependencies":{"coffee":"^4.1.0","fs-extra":"^7.0.1"},"gitHead":"b601b857e2d005cdad7cb7b73462a7e02f23f8e9","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n- global\n\n  ```bash\n  $ npm install beidou-cli -g\n  ```\n\n- local\n\n  ```bash\n  $ npm install beidou-cli --save\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n- `--debug`\n- `--inspect`\n- `--harmony*`\n- `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n- `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n- `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n- `--baseDir` application's root path, default to `process.cwd()`.\n- `--port` server port, default to `6001`.\n- `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n- `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n- all `beidou dev` options is accepted.\n- `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n- `files` is optional, default to `test/**/*.test.js`\n- `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n- `--require` require the given module\n- `--grep` only run tests matching <pattern>\n- `--timeout` milliseconds, default to 30000\n- `--full-trace` display the full stack trace, default to false.\n- see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n- `-x` add dir ignore coverage, support multiple argv\n- `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n- also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n- **Arguments**\n  - `baseDir` - directory of application, default to `process.cwd()`.\n- **Options**\n  - `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  - `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  - `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  - `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  - `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  - `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  - `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  - `timeout` - the maximum timeout when app starts, default to 300s.\n  - `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n- **Options**\n  - `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n- **Options**\n  - `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"beidou-cli@2.0.0-beta.0","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.10.5/node@v10.14.2+x64 (darwin)","dist":{"integrity":"sha512-W8f1d6eV/+j+TMDo4cpFpgfqXF2jDHk6PhQBeAekABn56/9hP0J+S6RzXyPsq5adc2yIeLLHV1D4IsWOaBUutg==","shasum":"89f648e50a88186747863bc450859a86080701d5","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.0.0-beta.0.tgz","fileCount":20,"unpackedSize":29399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOFQHCRA9TVsSAnZWagAAN44P/2pTU4WMkyoom0czEPXw\nfLESizvYA0r3xOWgxNPVRrWc2apnZvufu29DpsdpQ6X9wpQNau+THVrwPzTJ\nZmKgXrbmkHm4Wdguz2VScAFR0XitwyNU6iNlTK5u/Nde1oqxHTHlJ1FLlqyI\nyGAqybJ9mz+SDMyrBK1hYLl1mES4NSGWhU0qftIYsOcR6VjNbqDnyygXj6As\neED6b6LYp1JeyFDp8vnpmDBp5BRYSvMb8JqZ3sFfW8iEl7RmfYf5l/OX8fKb\nv7F+z7ISqKgyuSdgqdzrUO2P+n2GDyFnHGFjtlpfi7xOdSsbgu9c3aoQ3kSW\nGpkw2PBnZPboJpVuaJ0k3yn2z0PiPuF7MCNtJItz0ZEqUhGge6kfH8L+01F0\npMrTnIPlsXdpZK74av4RoNvd//JYflD75hsf3znhfpbfrbBpUwMLbQO/kP+c\nsOB3bwc7gl/+vZXV4MA4huRHiaO3o4kxhvZ61X/TYDox+NqJI5klYuGzYj5O\nwk5iZwnJb9U/OM1IsyWJvYepNRmvxJ1AKHGcSAjUz6aBJQaXzFYj2I1hZw+b\nn7jJ+Wapay1HEFa2XjAEi+NBPq45yDM2MAEy/WPtpdeDoUORCvv4ZdbhjN0O\nGSm1/FaSWsSMcS57PdbRpUZTebpLW853s7NEbqi90H0wRz2aY352kcX5XFAw\nDz6r\r\n=NhwE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbjsrwqtcSu1Qfp7wsWfJDnUe3JAWIY7yTeGnR/ratEgIgdrEJSkpgxLNHWwXpmqHbrDhwGEqfOZSqJmQ8ThBA89A="}]},"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-cli_2.0.0-beta.0_1547195398675_0.6425495818905727"},"_hasShrinkwrap":false},"2.0.0":{"name":"beidou-cli","version":"2.0.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","egg-ts-helper":"^1.20.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"latest"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"latest"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"latest"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"latest"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"latest"}},"devDependencies":{"coffee":"^4.1.0","fs-extra":"^7.0.1"},"gitHead":"9dff20044847ec621877f1105de0f61368f4284b","_id":"beidou-cli@2.0.0","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.10.5/node@v10.14.2+x64 (darwin)","dist":{"integrity":"sha512-cS+hclrKo4+SGzp1nKTN0i8Rp3cxXlSAfxrw7wYSdyskMjceL8/rMZiv2wBk3Gy7iwIGJxjOIK/oEHqlJ5uFrw==","shasum":"5582909b9c9004dd8207a4badc8de25399672b2c","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.0.0.tgz","fileCount":20,"unpackedSize":29546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPx+SCRA9TVsSAnZWagAADMcP+wVmgSvmz0SL59NOS3ff\ng+vnDxqDjWuijbd+dn2RHaDthCOjeNBYgU46ZKxS+JqMTrrGAkDqeRf79WBA\naPZDg8GNMRODmCzbpVwlneCAiVDg6d544gOrVGDupzAL9Z8u/7DUF+wKbHLL\nCQtarEB/h3gGB0j2CQSQV6LKDxRHZ79nS8QbIVdiGlEJC6o5Xsfb60rKEpEp\nB1JnjJx4UCBqBscZ096ui3AB3KLI8jwcErOtBHmcavnXqndNULPDXV43v/sp\nXIoBbaw/YcFGeTwM0dPIAFRK36RYhm+r5m/TOoPejzhT61nt1qA3Y6ENsauo\ngyDtRGwRKHMyXH/GPr9ZGY7DEWIvmfsDeH40XrQtt+k3LiJ8eyCNZzrAt1dT\n7TAfIDtNGBR9yCuUXqjm7msnROSLFOI6fwFNAZfURQjvrmAMTRpnbxLMaZxw\nNznb/enhIioMK+qBApNC0rOrSMrofMJBN/PIzg6VBT1h+wUpgVZ9HhyN/F/X\nGhpfbkIYGAHXFr+2spnJks8BRHJy3Ggtet4b/hIV/G0gXWi0Et4AZnv1AshY\nW5nNbNbGxDN3JhEZhw8vnFW6Z0c76xCuzPuqibhpI70FDDhlS9C+JXx0m1aB\nlO3ZWWueVhvh0Ho1nI76OXYX37tF9sScCFFp/yLEgXA8ipJlN5B5On7fS/Qz\nqY4y\r\n=nv5i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7EBCi2e+go8z8ClbIjjInnpRNM0DVY6QLoHZPGvT3SgIhAIiCQdojf4DwItxQpPGi1n0m0Fiu7duMaYxGumuWi04G"}]},"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-cli_2.0.0_1547640721422_0.7347689341405386"},"_hasShrinkwrap":false},"2.0.1":{"name":"beidou-cli","version":"2.0.1","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"babel-loader":"^8.0.5","chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","egg-ts-helper":"^1.20.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^2.2.1","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"latest"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"latest"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"latest"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"latest"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"latest"}},"devDependencies":{"coffee":"^4.1.0","fs-extra":"^7.0.1"},"gitHead":"c5704dce53d214be324134454773ad2d7ba7e191","_id":"beidou-cli@2.0.1","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-Fif+SbqA2dYbd9lSTrK97t3qJyQke3J0xB/FSV7zvwotlp/fqFKFHqBBy7SK4wyJTJDd3xpkCSTk73VUs2cUgQ==","shasum":"4eae577a532cfb8a50ab31e7985a21fd38c66eac","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.0.1.tgz","fileCount":22,"unpackedSize":34156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUFLvCRA9TVsSAnZWagAAnvgP/iiqZWZBdkgf5/JK3h7B\nMzd2p6AZRwwR21UEoyCFMN3w9XG/oa5Ms8c5KYoHI+2RUKRSw7zarxAw7741\nlTcWIEHqAAqfQudHfJm4b65sytH5t1Hq5GWon0SPr2lzfq4iPxq62neZgzzO\n2OhXZIMujmi0WgPeMrrUGudi/3oJYpgdHuuWeHEzsVCTVhuUv/0myooWJS6s\ny1A/JJJ/pnr89xgILSZZUU5je4lV+djvVlr/Re6p9TKl18jiAt2PRqT7t4q/\n8Y9gYZWdbaeKMPLcPBBkeP7O7ymb7AjwV//lGewYAVweCfGWXBurE+Hnyzmm\nufqlQnSHm+02icjhT2huDLxPTrES++n3AgBUAILOIs4858f5B7hDDQNtenz2\nJoppmLUgD+HMQ2bEcIJhr73fakws8h6+9bj/KDVzUTTiDAsW6Oho6pxck7YJ\naWi1Z8Mgs16LD0X5aITxpr9wUQ8QBTNHoBWBGqdpWYQA/+OoY63G0J3eAJeG\nxRvyL7Mg9deGztYHIA5hsbDsqdZd/08NGXAdzLwPgc55UpnDvc3u4yoUzz7Y\niAybcJh0F58MI5ZYlRfhPVnqc1cG2BHc+f4D/i1Bw6FigQo/YIr13vI553C4\nP7l4NZpcDQ/akZCG5aMrExH/Q6DDn9r7oxOf3QbV57soBifSEoL4jCkOOsUT\n/7bw\r\n=fBmf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJjgx1glbUhIQfJkkNm5krzIQSQkjrJdrZgokBnCb0twIgKUxybzZtTtBvizkUydDG+e+gLsKWRBWbZJbvjvDBxHo="}]},"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-cli_2.0.1_1548767982992_0.6781169054719531"},"_hasShrinkwrap":false},"2.1.1":{"name":"beidou-cli","version":"2.1.1","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"babel-loader":"^8.0.5","chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","egg-ts-helper":"^1.20.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.2","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"latest"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"latest"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"latest"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"latest"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"latest"}},"devDependencies":{"coffee":"^4.1.0","fs-extra":"^7.0.1"},"gitHead":"8068627513a7b82197de93d86daf98def6594dab","_id":"beidou-cli@2.1.1","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.7/node@v10.15.0+x64 (darwin)","dist":{"integrity":"sha512-buz8wm4YDIqWsMSiiicZtvwR416rVsjxtNxJmKdFlJLx7vC4KtxLGwxRV+U3Gg5o1SOSKXmE6fTaT0nGXoD8iw==","shasum":"e4d7915e837f88c90d332a871b8e3f71162ca0ac","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.1.1.tgz","fileCount":23,"unpackedSize":34369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcz9BtCRA9TVsSAnZWagAATX4P/39afj3CnPzoRGNS5U/f\nWH6ySCCA+pl3QMpWVlPGR1aOjRTqPRXZ9fZhWybhSPcSFILaWN596uD/AsvW\nEITi1nTJiCM1hbv0z4bFF09EvlWQ4G72KcE175XVu/vHHZscTOCGZhPuopIQ\nOgIHp7py9XfN+TVJcCxa35RfkAL0Uz8YtJ6fGNTR8+14wsKGEyq0321+PUeD\nTjArbHO95ebBifXnh44fO8rPrvf1LMky1IoyPgjZ+Cw2ajeDTneIPrOWcfba\n/bmBg5TOj+KSlTN+QMJoKBUu2tco/9Twh2lMOZFEDP0v+c07s4MUHfhgzb3m\nLSYTmMUv1e8xai7fb++uSXLLz0YCigQJXdcBKK9yd3tXXbmV0ntKvTxUJpH8\nMyXo1CUpf2AZ6PqP2tXVWcp2Gncb9fJwAJ+/+tf2qwRuj66kmF0Nt2UJO9Tx\nu7TkYEvVqN5N9P3dAXn+wdUSaLKvjI3FaQuWqQ/mmBqqwiEBIruYMjSkfI63\nV+Utkf/+0u1KuAI0q3cKXA5+8tA3lB0zpocwf3cShu+AnkIyeHFVt4GjFutH\nR5TODd186Gga4tS8CStZV2zj0IyliBCV3PaWZL4Av92IhQOEhJC/yJKwFwHP\ngDJT+Ae57IGRwwGWW3F3qgLFPT9DfyenQ39NXCVb6jOetupnRFeNEQcubBHK\n/a4w\r\n=XmVN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBn0drReOd0tvs8nT+63cKxgVeylQRT7Hs8ie4rJ1tS7AiEA/QZaWkVbDm2h7IxjXJ/JYYDQms5IHpqzIgEh/NOz4og="}]},"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-cli_2.1.1_1557123180775_0.6197061337446399"},"_hasShrinkwrap":false},"2.3.0":{"name":"beidou-cli","version":"2.3.0","description":"Beidou cli tools","main":"index.js","license":"MIT","bin":{"beidou":"bin/beidou.js"},"scripts":{"test":"TEST_REPORTER=spec egg-bin test","cov":"TEST_REPORTER=spec egg-bin cov","history":"egg-bin history CHANGELOG.md"},"dependencies":{"babel-loader":"^8.0.5","chalk":"^2.3.1","check-npm-registry":"^1.0.4","cross-spawn":"^6.0.4","debug":"^3.1.0","egg-bin":"^4.4.0","egg-scripts":"^2.5.1","egg-ts-helper":"^1.20.0","glob":"^7.1.2","group-object":"^0.1.1","inquirer":"^5.1.0","mem-fs":"^1.1.3","mem-fs-editor":"^4.0.0","mkdirp":"^0.5.1","npm-updater":"^3.0.3","rimraf":"^2.6.2","tar":"^4.4.2","urllib":"^2.25.4"},"boilerplates":{"Simple":{"package":"beidou-example-simple","description":"Simple beidou isomorphic app boilerplate","tag":"latest"},"Redux":{"package":"beidou-example-redux","description":"Redux beidou isomorphic app boilerplate","tag":"latest"},"CSS-MODULES":{"package":"beidou-example-css-modules","description":"CSS-MODULES beidou isomorphic app boilerplate","tag":"latest"},"Advanced":{"package":"beidou-example-advanced","description":"Advanced beidou isomorphic app boilerplate","tag":"latest"},"TypeScript":{"package":"beidou-example-typescript","description":"Beidou TypeScript isomorphic app boilerplate","tag":"latest"}},"devDependencies":{"coffee":"^4.1.0","fs-extra":"^7.0.1"},"gitHead":"218112eb300d7b82add9bc03b637e0fc5b482c1b","_id":"beidou-cli@2.3.0","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.0/node@v14.7.0+x64 (darwin)","dist":{"integrity":"sha512-wfOQ2ppQxLkGEs/dQPHqbPvn+Ki50pUVGobiXcUh4/00E0Dexvic+IirURMr58ipig2ayztq6ZbhpYiCzI/7Lw==","shasum":"71380e2852e4f5286adf8db23b8264ac36a3fcb0","tarball":"https://registry.npmjs.org/beidou-cli/-/beidou-cli-2.3.0.tgz","fileCount":22,"unpackedSize":34206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHhisACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpa0Q//Qsu2hIKFgRjHzcC+7uxuaXAA/nQB5SOgnJW2klmb9zeiWxOd\r\n0O7XGJJFvduH2CXjJQQscFCi+Jt+PxjHVxunNlNQmehzPg+rUb43PKRYv9At\r\nSigIuLcNqnRjMbjXS76HHP3MVAsfv9l94S1E6vj7Bhp7MH23c3OYMULBap6o\r\nE7oJEhIR5U7em8JYB72sLCUDRqyLyBP3cGynPUs+ObRTyDmYiwUGGsC5mhoa\r\nQ6qwILNkx7tZV/I/wC3SoM0RZc+ajHebaLBJ5VXyZ0cJj77hrmCmnz048QuM\r\nQbRna+Ch53k4Zu6n3Xdu3GYUlY8tu9iYsLjsQLx0TGRoi9qEZTsuxha9DGbk\r\nO4o9ObbPWRlbA0JmJzzqFKetJb+AV57X7RB/N7l2ezETVG6Ejn4fPm3kUJDK\r\nVfIsYunRd3QHKl2EjXEhGjH5qchqWuuGgpvkTMX558DRrguax9HtEOf8P4R4\r\nSSxRSFQXFQq5HZrfDZawGbjwsjnx30HBhcS8MLXD9rAs/K6CuIj2gDZk/+Qz\r\nZM1DphT6fE1qL1E5LtHD9wtcmWCs94P2ClBrk3oGU1CmyzfXJS8wsllT9dgu\r\npWiz8MYps2B+d+MXYxiHB2BiC65DClPFCQRCpJYlYYNYtp/4l5cZ+ATARETb\r\nwASXQCxfaFAIlz7BXZbwrtP/hzOxJ3LUeK8=\r\n=RTvs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGFHxot33wg/889iPdXwYaeC5oPvJ0fL5DxUW1ZUhPsAiBli5ebjBcSoZ+BDK7cFhGp0KAY5T6NBHcefuxbOlcQug=="}]},"_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-cli_2.3.0_1646139564475_0.57075591080419"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-27T07:12:51.275Z","0.0.1":"2018-02-27T07:12:52.678Z","modified":"2022-06-13T04:30:10.403Z","0.0.2":"2018-02-27T07:54:58.988Z","0.0.3":"2018-02-27T08:03:48.770Z","0.0.4":"2018-02-27T08:20:21.986Z","1.0.0-alpha.5":"2018-03-01T09:29:28.269Z","0.1.0":"2018-03-07T01:41:42.689Z","1.0.0-beta.0":"2018-03-09T11:35:56.948Z","1.0.0-beta.1":"2018-03-09T12:12:03.059Z","1.0.0-beta.2":"2018-03-15T02:34:57.382Z","1.0.0-beta.3":"2018-03-22T02:17:47.889Z","1.0.0":"2018-03-23T06:42:57.550Z","1.0.4":"2018-04-27T13:32:04.024Z","1.0.5":"2018-06-14T14:25:50.924Z","1.0.8":"2018-08-11T09:53:34.674Z","1.0.10":"2018-11-21T02:57:52.180Z","1.1.0":"2018-12-18T04:54:39.108Z","2.0.0-alpha.0":"2018-12-26T11:54:22.403Z","2.0.0-alpha.1":"2019-01-08T08:57:48.450Z","2.0.0-beta.0":"2019-01-11T08:29:58.814Z","2.0.0":"2019-01-16T12:12:01.590Z","2.0.1":"2019-01-29T13:19:43.082Z","2.1.1":"2019-05-06T06:13:00.887Z","2.3.0":"2022-03-01T12:59:24.611Z"},"maintainers":[{"name":"njugray","email":"njugray@gmail.com"},{"name":"devrsi0n","email":"devrsi0n@gmail.com"}],"description":"Beidou cli tools","license":"MIT","readme":"# beidou-cli\n\nBeidou application cli tool\n\n## Install\n\nGlobal install `beidou-cli` if you need to init beidou boilerplate, use local install otherwise.\n\n- global\n\n  ```bash\n  $ npm install beidou-cli -g\n  ```\n\n- local\n\n  ```bash\n  $ npm install beidou-cli --save\n  ```\n\n## Usage\n\nAdd `beidou` to `package.json` scripts:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"beidou dev\",\n    \"debug\": \"beidou debug\",\n    \"test\": \"beidou test\",\n    \"cov\": \"beidou cov\",\n    \"start\": \"beidou start\",\n    \"stop\": \"beidou stop\",\n    \"build\": \"beidou build\"\n  }\n}\n```\n\n## Command\n\nAll the commands support these specific v8 options:\n\n- `--debug`\n- `--inspect`\n- `--harmony*`\n- `--es_staging`\n\n```bash\n$ beidou [command] --debug --es_staging\n```\n\nif `process.env.NODE_DEBUG_OPTION` is provided (WebStorm etc), will use it as debug options.\n\n### `init` command\n\nInit beidou boilerplate project\n\n```bash\n$ beidou init\n```\n\n#### options\n\n- `--tag=next` init boilerplate project with npm next tag, used for alpha or beta version.\n- `--force` force to overwrite directory.\n\n#### Choose boilerplate\n\n```bash\n$ beidou init\n? Please select a boilerplate type (Use arrow keys)\n❯ Simple - Simple beidou isomorphic app boilerplate\n  Redux - Redux beidou isomorphic app boilerplate\n  CSS-MODULES - css-modules beidou isomorphic app boilerplate\n  Advanced - Advanced beidou isomorphic app boilerplate\n```\n\n### dev\n\nStart dev cluster on `local` env, it will start a master, an agent and a worker.\n\n```bash\n$ beidou dev\n```\n\n#### options\n\n- `--baseDir` application's root path, default to `process.cwd()`.\n- `--port` server port, default to `6001`.\n- `--cluster` worker process number, skip this argvs will start only `1` worker, provide this without value will start `cpu` count worker.\n- `--sticky` start a sticky cluster server, default to `false`.\n\n### debug\n\nDebug beidou app with [V8 Inspector Integration](https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js).\n\nautomatically detect the protocol, use the new `inspector` when the targeted runtime >=7.0.0 .\n\nuse [inspector-proxy](https://github.com/whxaxes/inspector-proxy) to proxy worker debug, so you don't need to worry about reload.\n\n```bash\n$ beidou debug --debug-port=9229 --proxy=9999\n```\n\n#### options\n\n- all `beidou dev` options is accepted.\n- `--proxy=9999` worker debug proxy port.\n\n### test\n\nUsing [mocha] with [co-mocha] to run test.\n\n[power-assert] is the default `assert` library, and [intelli-espower-loader] will be auto required.\n\n```bash\n$ beidou test [files] [options]\n```\n\n- `files` is optional, default to `test/**/*.test.js`\n- `test/fixtures`, `test/node_modules` is always exclude.\n\n#### auto require `test/.setup.js`\n\nIf `test/.setup.js` file exists, it will be auto require as the first test file.\n\n```js\ntest\n  ├── .setup.js\n  └── foo.test.js\n```\n\n#### options\n\nYou can pass any mocha argv.\n\n- `--require` require the given module\n- `--grep` only run tests matching <pattern>\n- `--timeout` milliseconds, default to 30000\n- `--full-trace` display the full stack trace, default to false.\n- see more at https://mochajs.org/#usage\n\n#### environment\n\nEnvironment is also support, will use it if options not provide.\n\nYou can set `TESTS` env to set the tests directory, it support [glob] grammar.\n\n```bash\nTESTS=test/a.test.js beidou test\n```\n\nAnd the reporter can set by the `TEST_REPORTER` env, default is `spec`.\n\n```bash\nTEST_REPORTER=doc beidou test\n```\n\nThe test timeout can set by `TEST_TIMEOUT` env, default is `30000` ms.\n\n```bash\nTEST_TIMEOUT=2000 beidou test\n```\n\n### cov\n\nUsing [istanbul] to run code coverage, it support all test params above.\n\nCoverage reporter will output text-summary, json and lcov.\n\n#### options\n\nYou can pass any mocha argv.\n\n- `-x` add dir ignore coverage, support multiple argv\n- `--prerequire` prerequire files for coverage instrument, you can use this options if load files slowly when call `mm.app` or `mm.cluster`\n- also support all test params above.\n\n#### environment\n\nYou can set `COV_EXCLUDES` env to add dir ignore coverage.\n\n```bash\n$ COV_EXCLUDES=\"app/plugins/c*,app/autocreate/**\" beidou cov\n```\n\n### start\n\nStart beidou server at production mode.\n\n```bash\n$ beidou start [options] [baseDir]\n# Usage\n# beidou start --port=7001\n# beidou start ./server\n```\n\n- **Arguments**\n  - `baseDir` - directory of application, default to `process.cwd()`.\n- **Options**\n  - `port` - listening port, default to `process.env.PORT`, if unset, egg will use `6001` as default.\n  - `title` - process title description, use for kill grep, default to `egg-server-${APP_NAME}`.\n  - `workers` - numbers of app workers, default to `process.env.EGG_WORKERS`, if unset, egg will use `os.cpus().length` as default.\n  - `daemon` - whether run at background daemon mode, don't use it if in docker mode.\n  - `env` - server env, default to `process.env.EGG_SERVER_ENV`, recommended to keep empty then use framwork default env.\n  - `stdout` - customize stdout file, default to `$HOME/logs/master-stdout.log`.\n  - `stderr` - customize stderr file, default to `$HOME/logs/master-stderr.log`.\n  - `timeout` - the maximum timeout when app starts, default to 300s.\n  - `ignore-stderr` - whether ignore stderr when app starts.\n\n### stop\n\nStop beidou gracefull.\n\n**Note:** if exec without `--title`, it will kill all egg process.\n\n```bash\n# stop egg\n$ beidou stop [--title=example]\n```\n\n- **Options**\n  - `title` - process title description, use for kill grep.\n\n### build\n\nBuild beidou assets\n\n- **Options**\n  - `target` - build target, `node` or `browser`(default)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}