Commit 609cdcba authored by lipengcheng 's avatar lipengcheng

feat: x

parent ddd9acbb
{
"path": "cz-conventional-changelog"
}
const tasks = (arr) => arr.join(' && ')
const tasks = (arr) => arr.join(" && ");
module.exports = {
// hooks: {
// 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
......@@ -6,9 +6,9 @@ module.exports = {
// 'pre-push': 'yarn lint && yarn test'
// }
hooks: {
'pre-commit': 'lint-staged',
"pre-commit": "lint-staged",
// 'pre-commit': tasks(['lint-staged', 'yarn commit']),
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
'pre-push': "echo 'pushing....'",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "echo 'pushing....'",
},
}
};
{
"name": "<%= pkgName %>",
"version": "1.0.0",
"author": "<%= author %>",
"description": "<%= description %>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment