Set up Husky at repository root to run automated checks before commits. Changes: - Installed Husky 9.1.7 in project root - Created .husky/pre-commit hook - Hook runs TypeScript compilation check (tsc --noEmit) - Hook runs lint-staged for fast linting on staged files only - Added package.json and package-lock.json for Husky dependency Pre-commit workflow: 1. cd colaflow-web 2. Run TypeScript check on all files 3. Run lint-staged (ESLint + Prettier) on staged files only Note: Using --no-verify for this commit to avoid chicken-egg problem. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
649 B
JSON
29 lines
649 B
JSON
{
|
|
"name": "product-master",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"devDependencies": {
|
|
"husky": "^9.1.7"
|
|
}
|
|
},
|
|
"node_modules/husky": {
|
|
"version": "9.1.7",
|
|
"resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
|
|
"integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",
|
|
"dev": true,
|
|
"license": "MIT",
|
|
"bin": {
|
|
"husky": "bin.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/typicode"
|
|
}
|
|
}
|
|
}
|
|
}
|