-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.12 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": "relay-llm-proxy",
"version": "2.2.0",
"description": "Provider agnostic LLM caching and deduplication proxy for OpenAI, Anthropic, Gemini, and Copilot Business/Enterprise",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src tests",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"bin:build": "npm run build && pkg dist/index.js --targets node22-macos-arm64,node22-macos-x64,node22-linux-x64,node22-linux-arm64,node22-win-x64 --output bin/relay",
"bin:mac": "npm run build && pkg dist/index.js --targets node22-macos-arm64 --output bin/relay-macos-arm64",
"bin:linux": "npm run build && pkg dist/index.js --targets node22-linux-x64 --output bin/relay-linux-x64",
"bin:win": "npm run build && pkg dist/index.js --targets node22-win-x64 --output bin/relay-windows-x64.exe",
"setup:opencode": "node scripts/setup-opencode.js"
},
"keywords": [
"llm",
"proxy",
"caching",
"cost-optimization",
"openai",
"anthropic",
"gemini",
"llm-proxy",
"llm-caching",
"prompt-caching",
"ai-gateway",
"deduplication"
],
"author": "",
"license": "MIT",
"bin": {
"relay": "./dist/index.js"
},
"files": [
"dist",
"scripts",
"config.example.yaml"
],
"pkg": {
"assets": [
"dist/**/*"
],
"scripts": [
"dist/index.js"
]
},
"dependencies": {
"js-yaml": "^4.1.0",
"pino": "^8.17.2",
"pino-pretty": "^10.3.1",
"tiktoken": "^1.0.22"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^8.62.0",
"@typescript-eslint/parser": "^8.62.0",
"@vitest/coverage-v8": "^4.1.9",
"@yao-pkg/pkg": "^6.20.0",
"eslint": "^8.56.0",
"fast-check": "^3.15.0",
"prettier": "^3.1.1",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^4.1.9"
},
"overrides": {
"esbuild": "0.28.1"
}
}