proj-check
v0.2.0
Published
项目自动化检查
Downloads
1
Readme
proj-check
proj-check
用来完成项目的自动化检查,包括:
- monitor 上报
- xxx
更多检查模式,需要脚手架做相应调整,将配置项进一步收归+模式统一
usage
npm install -g @tencent/proj-check
proj-check
输出类似:
[monitor配置检查] 开始.
[1] 配置文件路径:src/pages/index/business/report/config.js
[1] 检查结论:不通过.
[1] 有问题的上报项:PV, OFFLINE_PV, BADJS_PV, LOAD_SUCCESS, LOAD_FAIL, LOAD_SUCCESS_RETRY, LOAD_FAIL_RETRY.
[monitor配置检查] 结束.
[badjs配置检查] 开始.
[1] 配置文件路径:src/pages/index/business/window-gConfig
[1] 检查结论:不通过.
[1] 错误id:badjsId.
[badjs配置检查] 结束.