-
Notifications
You must be signed in to change notification settings - Fork 489
/
package.json
76 lines (76 loc) · 2.2 KB
/
package.json
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
{
"name": "@portkey-ai/gateway",
"version": "1.8.6",
"description": "A fast AI gateway by Portkey",
"repository": {
"type": "git",
"url": "git+https://github.com/Portkey-AI/gateway.git"
},
"keywords": [
"AI gateway",
"Portkey",
"Portkey AI",
"LLM",
"OpenAI"
],
"author": "portkey-ai <support@portkey.ai>",
"license": "MIT",
"files": [
"build",
"README.md",
"SECURITY.md",
"LICENSE",
"build/public"
],
"scripts": {
"dev": "wrangler dev src/index.ts",
"dev:node": "tsx src/start-server.ts",
"dev:workerd": "wrangler dev src/index.ts",
"deploy": "wrangler deploy --minify src/index.ts",
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
"build": "rollup -c",
"build-plugins": "tsx plugins/build.ts",
"prepublishOnly": "npm run build",
"start:node": "node build/start-server.js",
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
"format:check": "prettier --check \"./**/*.{js,jsx,ts,tsx,json}\"",
"test:gateway": "jest src/",
"test:plugins": "jest plugins/",
"pre-push": "npm run build && node start-test.js",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky"
},
"dependencies": {
"@aws-crypto/sha256-js": "^5.2.0",
"@cfworker/json-schema": "^4.0.3",
"@hono/node-server": "^1.3.3",
"@hono/node-ws": "^1.0.4",
"@portkey-ai/mustache": "^2.1.2",
"@smithy/signature-v4": "^2.1.1",
"@types/mustache": "^4.2.5",
"async-retry": "^1.3.3",
"hono": "^4.6.10",
"ws": "^8.18.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230518.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/async-retry": "^1.4.5",
"@types/jest": "^29.5.12",
"@types/node": "20.8.3",
"@types/ws": "^8.5.12",
"husky": "^9.1.4",
"jest": "^29.7.0",
"prettier": "3.2.5",
"rollup": "^4.9.1",
"rollup-plugin-copy": "^3.5.0",
"ts-jest": "^29.2.4",
"tsx": "^4.7.0",
"typescript-eslint": "^8.1.0",
"wrangler": "^3.48.0"
},
"bin": "build/start-server.js",
"type": "module"
}