chore(git): commitizen init

This commit is contained in:
FairyEver
2020-04-18 11:09:28 +08:00
parent 9f8b8c7672
commit 232d9c24a4
2 changed files with 331 additions and 19 deletions

View File

@@ -13,7 +13,8 @@
"lint": "vue-cli-service lint --fix",
"test:unit": "vue-cli-service test:unit",
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
"analyz": "npm_config_report=true npm run build"
"analyz": "npm_config_report=true npm run build",
"commit": "git-cz"
},
"dependencies": {
"@d2-projects/d2-crud": "^2.1.2",
@@ -67,6 +68,7 @@
"@vue/test-utils": "1.0.0-beta.29",
"babel-eslint": "^10.0.3",
"compression-webpack-plugin": "^3.0.1",
"cz-conventional-changelog": "3.1.0",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"sass": "^1.23.7",
@@ -77,5 +79,10 @@
"vue-template-compiler": "^2.6.10",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-theme-color-replacer": "^1.3.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}