chore: add commit message validate
parent
bafe6c66ee
commit
65abaf8c11
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"helpMessage": "\nPlease fix your commit message (and consider using https://www.npmjs.com/package/commitizen)\n",
|
||||
"types": [
|
||||
"feat",
|
||||
"fix",
|
||||
"docs",
|
||||
"style",
|
||||
"refactor",
|
||||
"perf",
|
||||
"test",
|
||||
"chore",
|
||||
"revert"
|
||||
],
|
||||
"warnOnFail": false,
|
||||
"autoFix": false
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -29,7 +29,9 @@
|
|||
"compile": "node antd-tools/cli/run.js compile",
|
||||
"dist": "node antd-tools/cli/run.js dist",
|
||||
"lint": "eslint -c ./.eslintrc --fix --ext .jsx ./components",
|
||||
"lint:style": "stylelint \"./examples/**/*.less\" --fix --syntax less"
|
||||
"lint:style": "stylelint \"./examples/**/*.less\" --fix --syntax less",
|
||||
"commitmsg": "validate-commit-msg",
|
||||
"cm": "git-cz"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -83,6 +85,7 @@
|
|||
"gulp-strip-code": "^0.1.4",
|
||||
"highlight.js": "^9.12.0",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"husky": "^0.14.3",
|
||||
"istanbul-instrumenter-loader": "^3.0.0",
|
||||
"jsonp": "^0.2.1",
|
||||
"karma": "^1.4.1",
|
||||
|
@ -132,6 +135,7 @@
|
|||
"add-dom-event-listener": "^1.0.2",
|
||||
"array-tree-filter": "^2.1.0",
|
||||
"classnames": "^2.2.5",
|
||||
"commitizen": "^2.9.6",
|
||||
"component-classes": "^1.2.6",
|
||||
"css-animation": "^1.4.1",
|
||||
"dom-align": "^1.6.7",
|
||||
|
@ -146,6 +150,7 @@
|
|||
"reqwest": "^2.0.5",
|
||||
"shallow-equal": "^1.0.0",
|
||||
"shallowequal": "^1.0.2",
|
||||
"validate-commit-msg": "^2.14.0",
|
||||
"vue": "^2.5.15",
|
||||
"vue-clipboard2": "0.0.8",
|
||||
"vue-types": "^1.0.2",
|
||||
|
|
Loading…
Reference in New Issue