Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 1.94 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
{
"name": "mock-openai-api",
"version": "1.0.6",
"description": "Record, inspect, and replay OpenAI and Anthropic API traffic",
"keywords": [
"openai",
"mock",
"debug",
"typescript",
"api",
"server"
],
"homepage": "https://github.com/zerob13/mock-openai-api#readme",
"bugs": {
"url": "https://github.com/zerob13/mock-openai-api/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zerob13/mock-openai-api.git"
},
"license": "MIT",
"author": "zerob13",
"type": "module",
"main": "dist/server/index.js",
"bin": {
"mock-openai-api": "dist/server/cli.js"
},
"files": [
"dist",
"docs/images/admin-recorder.png",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && npm run build:server && npm run build:web",
"build:server": "tsc -p tsconfig.json",
"build:web": "vite build --config web/vite.config.ts",
"dev": "tsx watch src/index.ts",
"dev:web": "vite --config web/vite.config.ts",
"start": "node dist/server/index.js",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc -p tsconfig.json --noEmit && vue-tsc -p web/tsconfig.json --noEmit",
"cli": "tsx src/cli.ts"
},
"engines": {
"node": ">=22.12"
},
"dependencies": {
"commander": "15.0.0",
"cors": "2.8.6",
"express": "5.2.1"
},
"devDependencies": {
"@types/cors": "2.8.19",
"@types/express": "5.0.6",
"@types/node": "26.1.1",
"@varlet/ui": "3.19.3",
"@vitejs/plugin-vue": "6.0.8",
"pinia": "4.0.2",
"tsx": "4.23.1",
"typescript": "5.9.3",
"vite": "8.1.5",
"vitest": "4.1.10",
"vue": "3.5.40",
"vue-router": "5.2.0",
"vue-tsc": "3.3.7"
},
"overrides": {
"axios": "1.18.1",
"js-cookie": "3.0.8",
"js-yaml": "4.3.0",
"lodash": "4.18.1",
"uuid": "13.0.1"
}
}