1.0.3 • Published 10 months ago

ns-build-cli v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Usage

$ npm install -g ns-build-cli
$ ns COMMAND
running command...
$ ns (--version)
ns-build-cli/1.0.3 darwin-x64 node-v16.12.0
$ ns --help [COMMAND]
USAGE
  $ ns COMMAND
...

Commands

ns build

构建正式环境

USAGE
  $ ns build [--help] [-D] [-A]

FLAGS
  -A, --all    显示所有构建结果
  -D, --debug  开启调试模式
  --help       Show CLI help.

DESCRIPTION
  构建正式环境

ns eslint

代码检查

USAGE
  $ ns eslint [--help] [--fix]

FLAGS
  --fix   是否自动修复
  --help  Show CLI help.

DESCRIPTION
  代码检查

EXAMPLES
  $ ns eslint

ns publish

发布NPM包到顶象私有库

USAGE
  $ ns publish

DESCRIPTION
  发布NPM包到顶象私有库

EXAMPLES
  $ ns publish

ns start

启动开发环境

USAGE
  $ ns start [--help] [--port <value>] [--host <value>] [--open]

FLAGS
  --help          Show CLI help.
  --host=<value>  [default: 0.0.0.0] 网址
  --open          是否打开
  --port=<value>  [default: 8080] 端口号

DESCRIPTION
  启动开发环境

ns tar

为子应用生成tar包

USAGE
  $ ns tar

DESCRIPTION
  为子应用生成tar包

ns vendor

构建vendor文件

USAGE
  $ ns vendor

DESCRIPTION
  构建vendor文件

EXAMPLES
  $ ns vendor
@babel/core@babel/plugin-proposal-class-properties@babel/plugin-proposal-decorators@babel/plugin-proposal-optional-chaining@babel/plugin-proposal-private-methods@babel/plugin-proposal-private-property-in-object@babel/plugin-transform-runtime@babel/preset-env@babel/preset-react@babel/preset-typescript@babel/runtime@oclif/core@oclif/plugin-help@oclif/plugin-plugins@oclif/test@pmmmwh/react-refresh-webpack-plugin@types/chai@types/cli-table@types/convert-units@types/cross-spawn@types/eslint@types/figlet@types/mocha@types/node@types/prettier@types/react-dev-utils@types/webpack@types/webpack-dev-server@typescript-eslint/eslint-plugin@typescript-eslint/parser@typescript-eslint/typescript-estreeautoprefixerbabel-loaderbabel-plugin-importbabel-plugin-react-css-modulesbundle-loadercase-sensitive-paths-webpack-pluginchaichalkclean-webpack-plugincli-tablecommandercompression-webpack-pluginconvert-unitscopy-webpack-plugincore-jscross-spawncss-loaderdownload-git-repons-mockeslinteslint-config-oclifeslint-config-oclif-typescripteslint-loadereslint-plugin-compateslint-plugin-prettiereslint-plugin-reactfigletfile-loaderfork-ts-checker-webpack-pluginglobglobbyhtml-webpack-plugininquirerless-loadermini-css-extract-pluginmochamomentoclifoptimize-css-assets-webpack-pluginorapostcss-lesspostcss-loaderprettierreact-dev-utilsreact-refreshregenerator-runtimeshxstyle-loadersvg-inline-loadertailwindcssterser-webpack-plugints-nodetslibtypescriptuglifyjs-webpack-pluginunused-webpack-pluginurl-loaderwebpackwebpack-cliwebpack-dev-server
1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago