chore: 添加commit:push

运行 npm run commit:push 可以执行一系列git 提交操作
This commit is contained in:
dingyongya 2022-02-16 15:59:35 +08:00
parent befd0985dc
commit b77f9d2803

View File

@ -32,7 +32,8 @@
"lint:prettier": "prettier --write \"src/**/*\"", "lint:prettier": "prettier --write \"src/**/*\"",
"prepare": "husky install", "prepare": "husky install",
"postinstall": "npm run prepare", "postinstall": "npm run prepare",
"commit": "git-cz" "commit": "git-cz",
"commit:push": "git add . && git-cz && git push"
}, },
"dependencies": { "dependencies": {
"@layui/hooks-vue": "^0.1.6", "@layui/hooks-vue": "^0.1.6",