package.json 2.2 KB

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