chore: 修改钩子, 提交内容的同时提交文档

This commit is contained in:
any86 2020-06-14 09:38:26 +08:00
parent 925765b36c
commit 6d3e459fdc

View File

@ -6,7 +6,7 @@
"version": "0.3.3",
"husky": {
"hooks": {
"pre-push": "npm run test:rules && npm run build:md && git add README.md"
"pre-push": "npm run test:rules && npm run build:md && git add README.md && git commit -m 'docs: 更新文档'"
}
},
"scripts": {