98 lines
2.9 KiB
JSON
98 lines
2.9 KiB
JSON
{
|
|
"name": "oai-reverse-proxy",
|
|
"version": "1.0.0",
|
|
"description": "Reverse proxy for the OpenAI API",
|
|
"scripts": {
|
|
"build": "tsc && copyfiles -u 1 src/**/*.ejs build",
|
|
"database:migrate": "ts-node scripts/migrate.ts",
|
|
"postinstall": "patch-package",
|
|
"prepare": "husky install",
|
|
"start": "node --trace-deprecation --trace-warnings build/server.js",
|
|
"start:dev": "nodemon --watch src --exec ts-node --transpile-only src/server.ts",
|
|
"start:debug": "ts-node --inspect --transpile-only src/server.ts",
|
|
"start:replit": "tsc && node build/server.js",
|
|
"start:watch": "nodemon --require source-map-support/register build/server.js",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@anthropic-ai/tokenizer": "^0.0.4",
|
|
"@aws-crypto/sha256-js": "^5.2.0",
|
|
"@huggingface/jinja": "^0.3.0",
|
|
"@node-rs/argon2": "^1.8.3",
|
|
"@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/util-utf8": "^2.1.1",
|
|
"axios": "^1.7.4",
|
|
"better-sqlite3": "^10.0.0",
|
|
"check-disk-space": "^3.4.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"copyfiles": "^2.4.1",
|
|
"cors": "^2.8.5",
|
|
"csrf-csrf": "^2.3.0",
|
|
"dotenv": "^16.3.1",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.19.3",
|
|
"express-session": "^1.17.3",
|
|
"firebase-admin": "^12.5.0",
|
|
"glob": "^10.3.12",
|
|
"googleapis": "^122.0.0",
|
|
"http-proxy": "1.18.1",
|
|
"http-proxy-middleware": "^3.0.2",
|
|
"ipaddr.js": "^2.1.0",
|
|
"memorystore": "^1.6.7",
|
|
"multer": "^1.4.5-lts.1",
|
|
"node-schedule": "^2.1.1",
|
|
"patch-package": "^8.0.0",
|
|
"pino": "^8.11.0",
|
|
"pino-http": "^8.3.3",
|
|
"proxy-agent": "^6.4.0",
|
|
"sanitize-html": "^2.13.0",
|
|
"sharp": "^0.32.6",
|
|
"showdown": "^2.1.0",
|
|
"source-map-support": "^0.5.21",
|
|
"stream-json": "^1.8.0",
|
|
"tiktoken": "^1.0.10",
|
|
"tinyws": "^0.1.0",
|
|
"uuid": "^9.0.0",
|
|
"zlib": "^1.0.5",
|
|
"zod": "^3.22.3",
|
|
"zod-error": "^1.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@smithy/types": "^3.3.0",
|
|
"@types/better-sqlite3": "^7.6.10",
|
|
"@types/cookie-parser": "^1.4.3",
|
|
"@types/cors": "^2.8.13",
|
|
"@types/express": "^4.17.17",
|
|
"@types/express-session": "^1.17.7",
|
|
"@types/multer": "^1.4.7",
|
|
"@types/node-schedule": "^2.1.0",
|
|
"@types/sanitize-html": "^2.9.0",
|
|
"@types/showdown": "^2.0.0",
|
|
"@types/stream-json": "^1.7.7",
|
|
"@types/uuid": "^9.0.1",
|
|
"concurrently": "^8.0.1",
|
|
"esbuild": "^0.17.16",
|
|
"esbuild-register": "^3.4.2",
|
|
"husky": "^8.0.3",
|
|
"nodemon": "^3.0.1",
|
|
"pino-pretty": "^10.2.3",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-ejs": "^1.0.3",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.4.2"
|
|
},
|
|
"overrides": {
|
|
"node-fetch@2.x": {
|
|
"whatwg-url": "14.x"
|
|
}
|
|
}
|
|
}
|