package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "audio-book-server",
  3. "version": "1.0.0",
  4. "description": "AI有声书生成工具后端服务",
  5. "main": "dist/app.js",
  6. "scripts": {
  7. "dev": "tsx watch src/app.ts",
  8. "build": "tsc",
  9. "start": "node dist/app.js",
  10. "test:smoke": "npx playwright test --project=smoke --config=../tests/playwright.config.ts",
  11. "test:regression": "npx playwright test --project=regression --config=../tests/playwright.config.ts",
  12. "test:all": "npx playwright test --config=../tests/playwright.config.ts",
  13. "test:report": "npx playwright show-report ../tests/test-results/report",
  14. "deploy:check": "npm run test:smoke"
  15. },
  16. "dependencies": {
  17. "@koa/bodyparser": "^6.1.0",
  18. "@koa/cors": "^5.0.0",
  19. "@koa/router": "^12.0.1",
  20. "@langchain/community": "^0.0.56",
  21. "@langchain/core": "^1.1.39",
  22. "@langchain/langgraph": "^1.2.8",
  23. "@prisma/client": "^6.19.3",
  24. "@sentry/node": "^10.49.0",
  25. "@sentry/profiling-node": "^10.49.0",
  26. "@types/ws": "^8.18.1",
  27. "ali-oss": "^6.23.0",
  28. "alipay-sdk": "^4.14.0",
  29. "axios": "^1.7.2",
  30. "bull": "^4.16.5",
  31. "crypto-js": "^4.2.0",
  32. "dotenv": "^16.4.5",
  33. "fluent-ffmpeg": "^2.1.2",
  34. "ioredis": "^5.10.1",
  35. "is-generator-function": "^1.1.2",
  36. "jsonrepair": "^3.14.0",
  37. "jsonwebtoken": "^9.0.2",
  38. "koa": "^3.1.2",
  39. "koa-body": "^7.0.1",
  40. "koa-mount": "^4.2.0",
  41. "koa-static": "^5.0.0",
  42. "langchain": "^0.1.36",
  43. "mysql2": "^3.20.0",
  44. "openai": "^6.34.0",
  45. "prisma": "^6.19.3",
  46. "rate-limiter-flexible": "^11.0.1",
  47. "uuid": "^9.0.1",
  48. "wechatpay-node-v3": "^2.2.1",
  49. "winston": "^3.19.0",
  50. "ws": "^8.20.0"
  51. },
  52. "devDependencies": {
  53. "@playwright/test": "^1.60.0",
  54. "@types/crypto-js": "^4.2.2",
  55. "@types/fluent-ffmpeg": "^2.1.24",
  56. "@types/jsonwebtoken": "^9.0.6",
  57. "@types/koa": "^2.15.0",
  58. "@types/koa__cors": "^5.0.0",
  59. "@types/koa__router": "^12.0.4",
  60. "@types/node": "^20.14.2",
  61. "@types/uuid": "^9.0.8",
  62. "ts-node": "^10.9.2",
  63. "tsx": "^4.11.2",
  64. "typescript": "^5.4.5"
  65. }
  66. }