0.0.10 • Published 2 years ago

@pricking/cli v0.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@pricking/cli

program start, as esno & nodemon wrapper.

TODO

inst

pricking-cli [命令]

命令:
  pricking-cli init
  pricking-cli start [options]

程式启动

选项:
  --help                显示帮助信息                                      [布尔]
  --version             显示版本号                                        [布尔]
  --confgPath, --cpath  cli config path                                 [字符串]

config

such as nodemon config, exclude exec, it consists of entryPoint and execArgs

{
  "entryPoint": "./src/index.ts",
  "watch": ["src"],
  "ext": "ts",
  "ignore": ["src/**/*.spec.ts"],
  "execArgs": [
    ["-r", "tsconfig-paths/register"],
    ["-r", "dotenv/config"],
    "dotenv_config_path=.dev-env"
  ],
  "env": {
    "APP_ENV": "development"
  },
  "delay": 500
}
interface IPrickingConf {
  entryPoint: string;
  watch?: string[];
  ext?: string;
  ignore?: string[];
  delay?: number;
  env?: any;
  execArgs?: Array<[string, string] | string>;
}
0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago