githook-scripts
Use package.json
scripts for git hooks
Example
{
"name": "your-package",
"scripts": {
"test": "mocha",
"githook:pre-commit": "npm run test"
},
"devDependencies": {
"githook-scripts": "latest"
}
}
Use package.json
scripts for git hooks
{
"name": "your-package",
"scripts": {
"test": "mocha",
"githook:pre-commit": "npm run test"
},
"devDependencies": {
"githook-scripts": "latest"
}
}
npm i githook-scripts
9
1.1.0
MIT
5.74 kB
4