2023-04-08 01:34:21 -06:00
|
|
|
{
|
|
|
|
"name": "oai-reverse-proxy",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Reverse proxy for the OpenAI API",
|
|
|
|
"scripts": {
|
2023-04-14 09:29:11 -06:00
|
|
|
"build:watch": "esbuild src/server.ts --outfile=build/server.js --platform=node --target=es2020 --format=cjs --bundle --sourcemap --watch",
|
2023-04-08 01:34:21 -06:00
|
|
|
"build": "tsc",
|
2023-04-14 09:29:11 -06:00
|
|
|
"start:dev": "concurrently \"npm run build:watch\" \"npm run start:watch\"",
|
2023-06-01 19:17:09 -06:00
|
|
|
"start:dev:tsc": "nodemon --watch src --exec ts-node --transpile-only src/server.ts",
|
2023-04-14 09:29:11 -06:00
|
|
|
"start:watch": "nodemon --require source-map-support/register build/server.js",
|
2023-04-09 17:55:24 -06:00
|
|
|
"start:replit": "tsc && node build/server.js",
|
2023-04-14 09:29:11 -06:00
|
|
|
"start": "node build/server.js",
|
|
|
|
"type-check": "tsc --noEmit"
|
2023-04-08 01:34:21 -06:00
|
|
|
},
|
2023-04-09 17:55:24 -06:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18.0.0"
|
|
|
|
},
|
2023-04-08 01:34:21 -06:00
|
|
|
"author": "",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2023-04-10 01:27:45 -06:00
|
|
|
"axios": "^1.3.5",
|
2023-04-08 01:34:21 -06:00
|
|
|
"cors": "^2.8.5",
|
2023-04-08 05:02:59 -06:00
|
|
|
"dotenv": "^16.0.3",
|
2023-04-08 01:34:21 -06:00
|
|
|
"express": "^4.18.2",
|
2023-05-13 22:26:08 -06:00
|
|
|
"firebase-admin": "^11.8.0",
|
2023-04-14 19:21:04 -06:00
|
|
|
"googleapis": "^117.0.0",
|
2023-04-08 07:24:07 -06:00
|
|
|
"http-proxy-middleware": "^3.0.0-beta.1",
|
2023-05-20 13:10:21 -06:00
|
|
|
"openai": "^3.2.1",
|
2023-04-09 17:55:24 -06:00
|
|
|
"pino": "^8.11.0",
|
2023-04-08 07:50:03 -06:00
|
|
|
"pino-http": "^8.3.3",
|
2023-04-09 01:30:59 -06:00
|
|
|
"showdown": "^2.1.0",
|
2023-05-12 18:58:15 -06:00
|
|
|
"uuid": "^9.0.0",
|
|
|
|
"zlib": "^1.0.5",
|
|
|
|
"zod": "^3.21.4"
|
2023-04-08 01:34:21 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-08 01:59:43 -06:00
|
|
|
"@types/cors": "^2.8.13",
|
|
|
|
"@types/express": "^4.17.17",
|
2023-04-08 07:50:03 -06:00
|
|
|
"@types/showdown": "^2.0.0",
|
2023-05-12 18:58:15 -06:00
|
|
|
"@types/uuid": "^9.0.1",
|
2023-04-14 09:29:11 -06:00
|
|
|
"concurrently": "^8.0.1",
|
|
|
|
"esbuild": "^0.17.16",
|
|
|
|
"esbuild-register": "^3.4.2",
|
2023-04-08 01:34:21 -06:00
|
|
|
"nodemon": "^2.0.22",
|
2023-04-14 09:29:11 -06:00
|
|
|
"source-map-support": "^0.5.21",
|
2023-04-08 01:34:21 -06:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^5.0.4"
|
|
|
|
}
|
|
|
|
}
|