hooks-configs/hook-build-check

Verify the project builds successfully before committing

Pre-commit hook that validates the project builds without errors. Catches build-breaking changes before they're committed. Configurable for different build systems.

Content
{
  "hooks": {
    "pre-commit": [
      {
        "name": "build-check",
        "command": "npm run build",
        "description": "Verify project builds successfully",
        "timeout": 120000
      }
    ]
  }
}

Details

Categoryhooks-configs
Tagsdevopspre-commitautomationintermediate
LicenseMIT
AuthorClaude Code Directory
Difficultyintermediate