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-08-05 22:01:58 -06:00
|
|
|
"build": "tsc && copyfiles -u 1 src/**/*.ejs build",
|
2024-05-26 11:31:12 -06:00
|
|
|
"database:migrate": "ts-node scripts/migrate.ts",
|
2023-09-30 19:40:18 -06:00
|
|
|
"prepare": "husky install",
|
|
|
|
"start": "node build/server.js",
|
2023-08-05 18:58:33 -06:00
|
|
|
"start:dev": "nodemon --watch src --exec ts-node --transpile-only src/server.ts",
|
2023-04-09 17:55:24 -06:00
|
|
|
"start:replit": "tsc && node build/server.js",
|
2023-09-30 19:40:18 -06:00
|
|
|
"start:watch": "nodemon --require source-map-support/register 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-08-08 16:29:36 -06:00
|
|
|
"@anthropic-ai/tokenizer": "^0.0.4",
|
2024-03-04 15:21:40 -07:00
|
|
|
"@aws-crypto/sha256-js": "^5.2.0",
|
2024-05-19 10:31:56 -06:00
|
|
|
"@node-rs/argon2": "^1.8.3",
|
2024-03-04 15:21:40 -07:00
|
|
|
"@smithy/eventstream-codec": "^2.1.3",
|
|
|
|
"@smithy/eventstream-serde-node": "^2.1.3",
|
|
|
|
"@smithy/protocol-http": "^3.2.1",
|
|
|
|
"@smithy/signature-v4": "^2.1.3",
|
|
|
|
"@smithy/types": "^2.10.1",
|
2024-02-04 16:18:28 -07:00
|
|
|
"@smithy/util-utf8": "^2.1.1",
|
2023-04-10 01:27:45 -06:00
|
|
|
"axios": "^1.3.5",
|
2024-05-26 11:31:12 -06:00
|
|
|
"better-sqlite3": "^10.0.0",
|
2023-11-13 22:41:19 -07:00
|
|
|
"check-disk-space": "^3.4.0",
|
2023-08-05 18:58:33 -06:00
|
|
|
"cookie-parser": "^1.4.6",
|
2023-08-05 22:01:58 -06:00
|
|
|
"copyfiles": "^2.4.1",
|
2023-04-08 01:34:21 -06:00
|
|
|
"cors": "^2.8.5",
|
2023-08-09 17:11:26 -06:00
|
|
|
"csrf-csrf": "^2.3.0",
|
2024-01-08 22:25:02 -07:00
|
|
|
"dotenv": "^16.3.1",
|
2024-05-17 20:46:27 -06:00
|
|
|
"ejs": "^3.1.10",
|
2023-04-08 01:34:21 -06:00
|
|
|
"express": "^4.18.2",
|
2023-09-02 13:36:44 -06:00
|
|
|
"express-session": "^1.17.3",
|
2024-04-22 11:36:41 -06:00
|
|
|
"firebase-admin": "^12.1.0",
|
|
|
|
"glob": "^10.3.12",
|
2023-07-19 10:52:58 -06:00
|
|
|
"googleapis": "^122.0.0",
|
2023-04-08 07:24:07 -06:00
|
|
|
"http-proxy-middleware": "^3.0.0-beta.1",
|
2024-05-19 10:31:56 -06:00
|
|
|
"ipaddr.js": "^2.1.0",
|
2023-09-02 13:36:44 -06:00
|
|
|
"memorystore": "^1.6.7",
|
2023-08-05 18:58:33 -06:00
|
|
|
"multer": "^1.4.5-lts.1",
|
2023-08-28 13:33:14 -06:00
|
|
|
"node-schedule": "^2.1.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",
|
2024-03-13 19:47:57 -06:00
|
|
|
"sanitize-html": "2.12.1",
|
2023-11-13 22:41:19 -07:00
|
|
|
"sharp": "^0.32.6",
|
2023-04-09 01:30:59 -06:00
|
|
|
"showdown": "^2.1.0",
|
2024-01-08 23:32:34 -07:00
|
|
|
"source-map-support": "^0.5.21",
|
2023-12-13 14:56:07 -07:00
|
|
|
"stream-json": "^1.8.0",
|
2023-07-21 18:11:32 -06:00
|
|
|
"tiktoken": "^1.0.10",
|
2023-05-12 18:58:15 -06:00
|
|
|
"uuid": "^9.0.0",
|
|
|
|
"zlib": "^1.0.5",
|
2023-10-03 18:05:46 -06:00
|
|
|
"zod": "^3.22.3",
|
|
|
|
"zod-error": "^1.5.0"
|
2023-04-08 01:34:21 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-05-26 11:31:12 -06:00
|
|
|
"@types/better-sqlite3": "^7.6.10",
|
2023-08-05 18:58:33 -06:00
|
|
|
"@types/cookie-parser": "^1.4.3",
|
2023-04-08 01:59:43 -06:00
|
|
|
"@types/cors": "^2.8.13",
|
|
|
|
"@types/express": "^4.17.17",
|
2023-09-02 13:36:44 -06:00
|
|
|
"@types/express-session": "^1.17.7",
|
2023-08-05 18:58:33 -06:00
|
|
|
"@types/multer": "^1.4.7",
|
2023-08-28 13:33:14 -06:00
|
|
|
"@types/node-schedule": "^2.1.0",
|
2023-09-02 13:36:44 -06:00
|
|
|
"@types/sanitize-html": "^2.9.0",
|
2023-04-08 07:50:03 -06:00
|
|
|
"@types/showdown": "^2.0.0",
|
2023-12-13 14:56:07 -07:00
|
|
|
"@types/stream-json": "^1.7.7",
|
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-09-09 16:21:38 -06:00
|
|
|
"husky": "^8.0.3",
|
2023-07-19 10:52:58 -06:00
|
|
|
"nodemon": "^3.0.1",
|
2023-10-07 19:17:09 -06:00
|
|
|
"pino-pretty": "^10.2.3",
|
2023-09-30 19:40:18 -06:00
|
|
|
"prettier": "^3.0.3",
|
2024-05-19 10:31:56 -06:00
|
|
|
"prettier-plugin-ejs": "^1.0.3",
|
2023-04-08 01:34:21 -06:00
|
|
|
"ts-node": "^10.9.1",
|
2024-03-13 19:47:57 -06:00
|
|
|
"typescript": "^5.4.2"
|
2023-07-06 06:26:52 -06:00
|
|
|
},
|
|
|
|
"overrides": {
|
2024-01-08 22:25:02 -07:00
|
|
|
"postcss": "^8.4.31",
|
|
|
|
"follow-redirects": "^1.15.4"
|
2023-04-08 01:34:21 -06:00
|
|
|
}
|
|
|
|
}
|