@lokier/cli-deploy
v2.7.13
Published
> TODO: description
Downloads
29
Readme
@lokier/cli-deploy
TODO: description
Options
| 参数 | 描述 | 适用平台 | | --- | --- | --- | | <target> | 发布平台 ('6mg', 'jdos')| all | | -a / --appName| 应用名称 | all | | -b / --branch | 分支 | all | | -e / --env | 发布环境 | all | | -p / --path | 提包路径 | 6mg | | -s / --system | 系统名称 | jdos / imageJdos | | -g / --group | 分组名称(发布环境),支持多个分组用英文逗号隔开 | jdos / imageJdos |
Usage
yarn add @lokier/cli -D
// package.json
{
"scripts": {
...
"deploy:pre": "lokier deploy 6mg -a molo-fe -b 6mg-deploy -e pre -p dist",
...
"deploy:pre": "lokier deploy jdos -a rules-center -b pre-development -e pre -s new-marketing-system-fe -g rules-center-pre",
...
},
// 配置如果未登录状态在终端erp登录
"lokier": {
"deploy": {
"autoLogin": true
}
}
}