chore: move commit-lint to cli

This commit is contained in:
陈嘉涵
2019-08-22 14:01:53 +08:00
parent bcc6868c06
commit fc111cdfc7
6 changed files with 32 additions and 13 deletions
+2 -2
View File
@@ -29,7 +29,7 @@
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "node build/lint-commit-msg.js"
"commit-msg": "vant commit-lint"
}
},
"lint-staged": {
@@ -70,7 +70,7 @@
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.16",
"@vant/cli": "^0.1.1",
"@vant/cli": "^1.0.0",
"@vant/doc": "^2.4.0",
"@vant/eslint-config": "^1.2.4",
"@vant/markdown-loader": "^2.2.0",