package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@media-manager/server",
  3. "version": "1.0.0",
  4. "description": "多自媒体平台管理系统后端服务",
  5. "type": "module",
  6. "main": "./dist/app.js",
  7. "scripts": {
  8. "dev": "tsx watch src/app.ts",
  9. "xhs:import": "tsx src/scripts/run-xhs-import.ts",
  10. "xhs:work-stats": "tsx src/scripts/run-xhs-work-stats-import.ts",
  11. "check:trend": "tsx src/scripts/check-trend-data.ts",
  12. "clean:work-day-orphans": "tsx src/scripts/clean-work-day-statistics-orphans.ts",
  13. "check:douyin-account": "tsx src/scripts/check-douyin-account.ts",
  14. "list:works-for-account": "tsx src/scripts/list-works-for-account.ts",
  15. "sync:works-for-account": "tsx src/scripts/sync-works-for-account.ts",
  16. "xhs:auth": "set XHS_IMPORT_HEADLESS=0&& set XHS_STORAGE_STATE_BOOTSTRAP=1&& tsx src/scripts/run-xhs-import.ts",
  17. "build": "tsc",
  18. "start": "node dist/app.js",
  19. "clean": "rimraf dist",
  20. "lint": "eslint src --ext .ts"
  21. },
  22. "dependencies": {
  23. "@media-manager/shared": "workspace:*",
  24. "bcryptjs": "^2.4.3",
  25. "bullmq": "^5.66.5",
  26. "compression": "^1.7.4",
  27. "cors": "^2.8.5",
  28. "dotenv": "^16.3.1",
  29. "express": "^4.18.2",
  30. "express-validator": "^7.0.1",
  31. "helmet": "^7.1.0",
  32. "ioredis": "^5.9.2",
  33. "jsonwebtoken": "^9.0.2",
  34. "morgan": "^1.10.0",
  35. "multer": "^1.4.5-lts.1",
  36. "mysql2": "^3.6.5",
  37. "node-schedule": "^2.1.1",
  38. "openai": "^4.24.1",
  39. "playwright": "^1.41.1",
  40. "redis": "^4.6.12",
  41. "typeorm": "^0.3.19",
  42. "uuid": "^9.0.1",
  43. "winston": "^3.11.0",
  44. "ws": "^8.16.0",
  45. "xlsx": "^0.18.5"
  46. },
  47. "devDependencies": {
  48. "@types/bcryptjs": "^2.4.6",
  49. "@types/compression": "^1.7.5",
  50. "@types/cors": "^2.8.17",
  51. "@types/express": "^4.17.21",
  52. "@types/jsonwebtoken": "^9.0.5",
  53. "@types/morgan": "^1.9.9",
  54. "@types/multer": "^1.4.11",
  55. "@types/node": "^20.10.6",
  56. "@types/node-schedule": "^2.1.5",
  57. "@types/uuid": "^9.0.7",
  58. "@types/ws": "^8.5.10",
  59. "@typescript-eslint/eslint-plugin": "^6.18.0",
  60. "@typescript-eslint/parser": "^6.18.0",
  61. "eslint": "^8.56.0",
  62. "rimraf": "^5.0.5",
  63. "tsx": "^4.7.0",
  64. "typescript": "^5.3.3"
  65. }
  66. }