package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "service-visit",
  3. "version": "1.0.0",
  4. "description": "student info service",
  5. "private": true,
  6. "egg": {
  7. "framework": "naf-framework-mongoose"
  8. },
  9. "dependencies": {
  10. "egg": "^2.23.0",
  11. "egg-naf-amqp": "0.0.13",
  12. "egg-redis": "^2.4.0",
  13. "egg-scripts": "^2.11.0",
  14. "egg-view-nunjucks": "^2.2.0",
  15. "jsonwebtoken": "^8.5.1",
  16. "lodash": "^4.17.15",
  17. "naf-framework-mongoose": "^0.6.11",
  18. "raml2html": "^6.1.0",
  19. "silly-datetime": "^0.1.2",
  20. "string-random": "^0.1.3",
  21. "url-join": "^4.0.1",
  22. "uuid": "^3.3.3",
  23. "xmlreader": "^0.2.3"
  24. },
  25. "devDependencies": {
  26. "autod": "^3.1.0",
  27. "autod-egg": "^1.1.0",
  28. "egg-bin": "^4.13.1",
  29. "egg-ci": "^1.13.0",
  30. "egg-mock": "^3.23.1",
  31. "eslint": "^6.1.0",
  32. "eslint-config-egg": "^7.4.1",
  33. "eslint-config-egg-naf": "0.0.3",
  34. "webstorm-disable-index": "^1.2.0"
  35. },
  36. "engines": {
  37. "node": ">=8.9.0"
  38. },
  39. "scripts": {
  40. "start": "egg-scripts start --daemon --title=egg-service-student",
  41. "stop": "egg-scripts stop --title=egg-service-student",
  42. "dev": "egg-bin dev",
  43. "debug": "egg-bin debug",
  44. "test": "npm run lint -- --fix && npm run test-local",
  45. "test-local": "egg-bin test",
  46. "cov": "egg-bin cov",
  47. "lint": "eslint .",
  48. "ci": "npm run lint && npm run cov",
  49. "autod": "autod",
  50. "pm2": "pm2 start",
  51. "restart": "pm2 restart service-student",
  52. "raml": "raml2html -i app/controller/api.raml -o app/public/api.html"
  53. },
  54. "ci": {
  55. "version": "8"
  56. },
  57. "repository": {
  58. "type": "git",
  59. "url": ""
  60. },
  61. "author": "dyg",
  62. "license": "MIT"
  63. }