feat: 添加git提交校验,并完善
Showing
.vcmrc
0 → 100644
| ... | @@ -10,16 +10,21 @@ | ... | @@ -10,16 +10,21 @@ |
| }, | }, | ||
| "fastgeek": "taro", | "fastgeek": "taro", | ||
| "scripts": { | "scripts": { | ||
| "build:weapp": "fastgeek taro build --platform weapp", | "build:weapp": "taro build --type weapp", | ||
| "build:swan": "fastgeek taro build --platform swan", | "build:swan": "taro build --type swan", | ||
| "build:alipay": "fastgeek taro build --platform alipay", | "build:alipay": "taro build --type alipay", | ||
| "build:tt": "fastgeek taro build --platform tt", | "build:tt": "taro build --type tt", | ||
| "build:h5": "fastgeek taro build --platform h5", | "build:h5": "taro build --type h5", | ||
| "dev:swan": "fastgeek taro --platform swan", | "build:rn": "taro build --type rn", | ||
| "dev:alipay": "fastgeek taro --platform alipay", | "build:qq": "taro build --type qq", | ||
| "dev:tt": "fastgeek taro --platform tt", | "build:quickapp": "taro build --type quickapp", | ||
| "dev:h5": "fastgeek taro --platform h5", | "dev:weapp": "npm run build:weapp -- --watch", | ||
| "build": "npm run build:weapp", | "dev:swan": "npm run build:swan -- --watch", | ||
| "dev:alipay": "npm run build:alipay -- --watch", | |||
| "dev:tt": "npm run build:tt -- --watch", | |||
| "dev:h5": "npm run build:h5 -- --watch", | |||
| "dev:rn": "npm run build:rn -- --watch", | |||
| "dev:qq": "npm run build:qq -- --watch", | |||
| "dev": "fastgeek taro --platform weapp" | "dev": "fastgeek taro --platform weapp" | ||
| }, | }, | ||
| "author": "", | "author": "", | ||
| ... | @@ -48,6 +53,7 @@ | ... | @@ -48,6 +53,7 @@ |
| "regenerator-runtime": "0.11.1" | "regenerator-runtime": "0.11.1" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "ghooks": "^2.0.4", | |||
| "@tarojs/mini-runner": "2.2.3", | "@tarojs/mini-runner": "2.2.3", | ||
| "@tarojs/webpack-runner": "2.2.3", | "@tarojs/webpack-runner": "2.2.3", | ||
| "@types/dva": "^1.1.0", | "@types/dva": "^1.1.0", | ||
| ... | @@ -75,6 +81,12 @@ | ... | @@ -75,6 +81,12 @@ |
| "stylelint": "9.3.0", | "stylelint": "9.3.0", | ||
| "stylelint-config-taro-rn": "2.2.3", | "stylelint-config-taro-rn": "2.2.3", | ||
| "stylelint-taro-rn": "2.2.3", | "stylelint-taro-rn": "2.2.3", | ||
| "typescript": "^3.0.1" | "typescript": "^3.0.1", | ||
| "validate-commit-msg": "^2.14.0" | |||
| }, | |||
| "config": { | |||
| "ghooks": { | |||
| "commit-msg": "validate-commit-msg" | |||
| } | |||
| } | } | ||
| } | } |
Please
register
or
sign in
to comment