package.json 1.7 KB

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