|
28 | 28 | "test:integration": "NODE_ENV=test vitest run --config vitest.integration.config.ts", |
29 | 29 | "test:unit": "NODE_ENV=test vitest run --config vitest.unit.config.ts", |
30 | 30 | "test:leaks": "NODE_ENV=test vitest run --pool=forks --logHeapUsage", |
31 | | - "lint": "eslint --max-warnings 0 .", |
| 31 | + "lint": "eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 .", |
32 | 32 | "lint:fix": "npm run lint -- --fix", |
33 | 33 | "build:go:dev": "GOPROXY=direct go build -C cfn-init/cmd -v -o ../../bundle/development/bin/cfn-init", |
34 | 34 | "build:go:prod": "GOPROXY=direct go build -C cfn-init/cmd -v -o ../../bundle/production/bin/cfn-init", |
|
42 | 42 | "generate-metrics": "NODE_ENV=development AWS_ENV=alpha node --max-old-space-size=16384 -r ts-node/register tools/telemetry-generator.ts", |
43 | 43 | "debug-tree": "node -r ts-node/register tools/debug_tree.ts", |
44 | 44 | "generate:guard-rules": "node -r ts-node/register tools/generate-guard-rules.ts", |
45 | | - "check:duplicates": "jscpd" |
| 45 | + "check:duplicates": "jscpd", |
| 46 | + "prepare": "husky" |
46 | 47 | }, |
47 | 48 | "dependencies": { |
48 | 49 | "@aws-sdk/client-cloudcontrol": "3.873.0", |
|
115 | 116 | "eslint-plugin-promise": "7.2.1", |
116 | 117 | "eslint-plugin-security": "3.0.1", |
117 | 118 | "eslint-plugin-unicorn": "60.0.0", |
| 119 | + "husky": "9.1.7", |
118 | 120 | "jscpd": "4.0.5", |
119 | 121 | "minimatch": "10.0.3", |
120 | 122 | "node-loader": "2.1.0", |
|
0 commit comments