package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "backend",
  3. "version": "1.0.0",
  4. "description": "基于EGG框架后端框架",
  5. "private": true,
  6. "egg": {
  7. "typescript": true
  8. },
  9. "scripts": {
  10. "start": "egg-scripts start --daemon --title=egg-server-backend",
  11. "stop": "egg-scripts stop --title=egg-server-backend",
  12. "dev": "egg-bin dev",
  13. "test-local": "egg-bin test -p",
  14. "test": "npm run lint -- --fix && npm run test-local",
  15. "cov": "egg-bin cov -p",
  16. "ci": "npm run lint && npm run cov && npm run tsc && npm run clean",
  17. "lint": "eslint . --ext .ts --cache",
  18. "tsc": "tsc",
  19. "clean": "tsc -b --clean"
  20. },
  21. "dependencies": {
  22. "@eggjs/tegg": "^3.5.2",
  23. "@eggjs/tegg-aop-plugin": "^3.5.2",
  24. "@eggjs/tegg-config": "^3.2.3",
  25. "@eggjs/tegg-controller-plugin": "^3.5.2",
  26. "@eggjs/tegg-eventbus-plugin": "^3.5.2",
  27. "@eggjs/tegg-plugin": "^3.5.2",
  28. "@eggjs/tegg-schedule-plugin": "^3.5.2",
  29. "dotenv": "^16.3.1",
  30. "egg": "^3.15.0",
  31. "egg-cors": "^2.2.3",
  32. "egg-jwt": "^3.1.7",
  33. "egg-scripts": "^2.17.0",
  34. "egg-sequelize": "^6.0.0",
  35. "egg-tracer": "^2.0.0",
  36. "egg-validate": "^2.0.2",
  37. "mysql2": "^3.4.0"
  38. },
  39. "devDependencies": {
  40. "@eggjs/tsconfig": "1",
  41. "@types/mocha": "10",
  42. "@types/node": "18",
  43. "egg-bin": "6",
  44. "egg-mock": "5",
  45. "egg-router-plus": "^2.0.0",
  46. "eslint": "8",
  47. "eslint-config-egg": "12",
  48. "sequelize-cli": "^6.6.1",
  49. "typescript": "4"
  50. },
  51. "engines": {
  52. "node": ">=18.0.0"
  53. },
  54. "repository": {
  55. "type": "git",
  56. "url": ""
  57. },
  58. "author": "",
  59. "license": "MIT"
  60. }