-
Notifications
You must be signed in to change notification settings - Fork 185
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.18 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "tdd-guard",
"version": "1.7.0",
"description": "Automated Test-Driven Development enforcement for Claude Code",
"author": "Nizar Selander",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nizos/tdd-guard.git"
},
"keywords": [
"tdd",
"test-driven-development",
"claude",
"claude-code",
"hooks",
"testing",
"ai-tools",
"code-quality",
"linting"
],
"engines": {
"node": ">=22.0.0"
},
"workspaces": [
"reporters/vitest",
"reporters/jest",
"reporters/storybook"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"tdd-guard": "dist/cli/tdd-guard.js"
},
"files": [
"dist",
"!dist/*.tsbuildinfo",
"README.md",
"LICENSE"
],
"scripts": {
"build:workspaces": "npm run build --workspaces --if-present",
"build": "tsc --build tsconfig.build.json && npm run build:workspaces",
"test": "vitest run --project default --project golangci-lint",
"test:unit": "vitest run --project unit --project golangci-lint",
"test:integration": "vitest run --project integration",
"pretest:reporters": "npx playwright install chromium --only-shell 2>/dev/null || true",
"test:reporters": "vitest run --project reporters",
"test:coverage": "vitest run --coverage",
"lint": "npm run build:workspaces && eslint . --fix --report-unused-disable-directives --max-warnings 0",
"lint:check": "npm run build:workspaces && eslint . --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "npm run build:workspaces && tsc --noEmit",
"checks": "npm run typecheck && npm run lint && npm run format && npm run test",
"pre-commit": "npm run format:check && npm run lint:check && npm run typecheck && npm run test:unit",
"prepare": "husky"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": ">=0.2.111 <0.2.113",
"@anthropic-ai/sdk": "^0.92.0",
"@ast-grep/lang-go": "^0.0.6",
"@ast-grep/lang-php": "^0.0.7",
"@ast-grep/lang-python": "^0.0.6",
"@ast-grep/lang-ruby": "^0.0.7",
"@ast-grep/lang-rust": "^0.0.7",
"@ast-grep/napi": "^0.42.1",
"dotenv": "^17.2.3",
"minimatch": "^10.0.3",
"zod": "^4.3.6"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,css,yml,yaml}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.4.2",
"@eslint/js": "^10.0.1",
"@types/node": "^25.1.0",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^10.0.1",
"eslint-plugin-sonarjs": "^4.0.0",
"get-port": "^7.1.0",
"globals": "^17.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"tdd-guard-vitest": "*",
"tsx": "^4.22.4",
"typescript": "^6.0.2",
"vitest": "^4.1.2"
},
"overrides": {
"@anthropic-ai/sdk": "^0.92.0",
"uuid": "^14.0.0",
"joi": "^17.13.4",
"esbuild": "^0.28.1",
"js-yaml": "^4.2.0"
}
}