-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
40 lines (40 loc) · 1.29 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
{
"name": "ai-proxy-server",
"version": "1.0.0",
"description": "Simple proxy API backend to handle requests between the macOS SwiftUI app and 3rd-party AI APIs, such as Mistral AI, Claude, OpenAI",
"author": "Pierre-Henry Soria",
"homepage": "https://github.com/SucceedAI",
"private": true,
"scripts": {
"prod": "npm run build && node dist/server.js",
"start": "ts-node src/server.ts --transpile-only",
"build": "tsc",
"dev": "nodemon src/server.ts",
"prettier:check": "./node_modules/.bin/prettier --check \"src/**/*.{ts,js,json}\" \"!package.json\"",
"prettier:fix": "./node_modules/.bin/prettier --write \"**/*.{ts,js,json}\" \"!package.json\""
},
"dependencies": {
"axios": "^1.6.7",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"helmet": "^7.1.0",
"http-status-codes": "^2.3.0",
"jsonwebtoken": "^9.0.2",
"openai": "^4.28.4",
"pino": "^8.19.0"
},
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.11.24",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}