package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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-scripts": "^2.17.0",
  32. "egg-tracer": "^2.0.0"
  33. },
  34. "devDependencies": {
  35. "@eggjs/tsconfig": "1",
  36. "@types/mocha": "10",
  37. "@types/node": "18",
  38. "egg-bin": "6",
  39. "egg-mock": "5",
  40. "eslint": "8",
  41. "eslint-config-egg": "12",
  42. "typescript": "4"
  43. },
  44. "engines": {
  45. "node": ">=18.0.0"
  46. },
  47. "repository": {
  48. "type": "git",
  49. "url": ""
  50. },
  51. "author": "admin@zhangp.cn",
  52. "license": "MIT"
  53. }