-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
48 lines (48 loc) · 1.7 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
{
"name": "ai-proxy-lambda",
"version": "1.0.0",
"description": "",
"main": "./dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "run-p build:*",
"build:typecheck": "tsc --noEmit",
"build:local": "esbuild --platform=node --bundle src/local.ts --outfile=dist/local.js --minify --sourcemap --target=es2020",
"build:lambda": "esbuild --platform=node --external:@aws-sdk --bundle src/index.js --outfile=dist/index.js --minify --sourcemap --target=es2020",
"watch:local": "esbuild --platform=node --bundle src/local.ts --outfile=dist/local.js --sourcemap --target=es2020 --watch",
"watch:lambda": "esbuild --platform=node --external:@aws-sdk --bundle src/index.js --outfile=dist/index.js --sourcemap --target=es2020 --watch",
"dev": "run-p dev:serve watch:*",
"dev:serve": "nodemon dist/local.js",
"postbuild": "cd dist && zip -r index.zip index.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"@braintrust/proxy": "workspace:*",
"@supabase/supabase-js": "^2.32.0",
"ai": "2.2.22",
"aws-lambda": "^1.0.7",
"axios": "^1.6.0",
"binary-search": "^1.3.6",
"combined-stream": "^1.0.8",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"esbuild": "^0.19.9",
"eventsource-parser": "^1.1.1",
"express": "^4.19.2",
"openai": "^4.42.0",
"redis": "^4.6.8"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.119",
"@types/axios": "^0.14.0",
"@types/combined-stream": "^1.0.3",
"@types/cors": "^2.8.13",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.17",
"@types/node": "^20.5.0",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.0.4"
}
}