chore(git): 为项目添加Husky & Commitlint用于管理commit message
项目采用Conventional Commit作为Commit Message编写规范: ---- <type>[optional scope]: <description> [optional body] [optional footer(s)] ---- 详见:https://www.conventionalcommits.org/zh-hans/v1.0.0/
This commit is contained in:
@ -7,7 +7,8 @@
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
"postinstall": "nuxt prepare",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "^7.4.47",
|
||||
@ -33,6 +34,9 @@
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@element-plus/nuxt": "^1.1.4"
|
||||
"@commitlint/cli": "^19.8.1",
|
||||
"@commitlint/config-conventional": "^19.8.1",
|
||||
"@element-plus/nuxt": "^1.1.4",
|
||||
"husky": "^9.1.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user