-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.76 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.76 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
{
"name": "anthropic-mock",
"version": "0.1.0",
"description": "Drop-in mock for the Anthropic SDK client. Generates structurally correct responses without API calls.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./test": {
"types": "./dist/test.d.ts",
"default": "./dist/test.js"
}
},
"files": [
"dist",
"!dist/__tests__"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"build:check": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "biome check src/",
"format": "biome check --write src/",
"check": "tsc && pnpm lint && pnpm test",
"example": "tsc && tsx examples/basic.ts",
"example:advanced": "tsc && tsx examples/advanced.ts",
"prepublishOnly": "pnpm run check"
},
"keywords": [
"anthropic",
"mock",
"testing",
"claude",
"sdk",
"stub",
"test",
"agent",
"tool-use",
"streaming",
"ai"
],
"author": "David Reko",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/davidreko/anthropic-mock.git"
},
"homepage": "https://github.com/davidreko/anthropic-mock#readme",
"bugs": {
"url": "https://github.com/davidreko/anthropic-mock/issues"
},
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@10.32.1",
"peerDependencies": {
"@anthropic-ai/sdk": ">=0.80.0 <1.0.0"
},
"devDependencies": {
"@anthropic-ai/sdk": "^0.82.0",
"@biomejs/biome": "^2.4.10",
"@vitest/coverage-v8": "^4.1.2",
"tsx": "^4.21.0",
"typescript": "^5.0.0",
"vitest": "^4.1.2"
}
}