forked from nizos/tdd-guard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.69 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.69 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
{
"name": "tdd-guard",
"version": "1.1.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"
],
"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",
"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.1.8",
"@anthropic-ai/sdk": "^0.65.0",
"@types/uuid": "^10.0.0",
"dotenv": "^17.2.3",
"minimatch": "^10.0.3",
"uuid": "^13.0.0",
"zod": "^4.1.11"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,css,yml,yaml}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@types/node": "^24.7.0",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.37.0",
"eslint-plugin-sonarjs": "^3.0.5",
"globals": "^16.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"prettier": "^3.6.2",
"tdd-guard-vitest": "*",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
}
}