Files
TeleUploader/package.json
T

36 lines
1.6 KiB
JSON
Raw Normal View History

{
"name": "teleuploader",
2026-05-18 06:51:06 +07:00
"version": "1.0.0",
"description": "Telegram file uploader backend",
"type": "module",
2026-05-18 06:51:06 +07:00
"scripts": {
"dev": "bun --hot src/index.ts",
"build": "bun build src/index.ts --target=bun --outfile=dist/index.js && bun build src/db/migrate.ts --target=bun --outfile=dist/migrate.js",
"start": "NODE_ENV=production bun dist/index.js",
"db:migrate": "bun dist/migrate.js",
"test": "bun test test/rateLimit.test.ts && bun test test/file.test.ts && bun test test/telegram.test.ts && bun test test/upload.test.ts && bun test test/files.test.ts && bun test test/health.test.ts && bun test test/db.test.ts && bun test test/bot.test.ts && bun test test/bootstrap.test.ts && bun test test/swagger.test.ts && bun test test/s3-auth.test.ts && bun test test/s3-operations.test.ts && bun test test/web-api.test.ts",
"test:s3-auth": "bun test test/s3-auth.test.ts",
"test:s3-ops": "bun test test/s3-operations.test.ts",
"test:web-api": "bun test test/web-api.test.ts",
"test:s3": "bun test test/s3-auth.test.ts && bun test test/s3-operations.test.ts && bun test test/web-api.test.ts",
"lint": "bunx biome check src test",
"format": "bunx biome format --write src test"
2026-05-18 06:51:06 +07:00
},
"dependencies": {
2026-05-18 07:00:46 +07:00
"@prisma/engines": "^7.8.0",
"drizzle-orm": "^0.45.2",
"nanoid": "^5.0.4",
"p-queue": "^9.3.0",
2026-05-18 06:51:06 +07:00
"pg": "^8.11.0",
2026-05-18 07:00:46 +07:00
"postgres": "^3.4.9",
2026-05-18 06:51:06 +07:00
"telegraf": "^4.15.0",
2026-05-18 07:00:46 +07:00
"winston": "^3.11.0"
2026-05-18 06:51:06 +07:00
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@types/node": "^25.8.0",
"drizzle-kit": "^0.31.10",
"typescript": "^6.0.3"
}
}