- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/typicode/husky
软件介绍
husky 可以防止使用 Git hooks 的一些不好的 commit 或者 push。
安装:
npm install husky --save-dev
代码示例:
// package.json
{
"scripts": {
"precommit": "npm test",
"prepush": "npm test",
"...": "..."
}
}
