包详细信息

githook-scripts

PixnBits41MIT1.1.0

easily run npm scripts in the git lifecycle

git, hooks, npm, scripts

自述文件

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"
  }
}