package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. "moment": "^2.29.1",
  18. "naf-framework-mongoose": "^0.6.11",
  19. "raml2html": "^6.1.0",
  20. "silly-datetime": "^0.1.2",
  21. "string-random": "^0.1.3",
  22. "url-join": "^4.0.1",
  23. "uuid": "^3.3.3",
  24. "xmlreader": "^0.2.3"
  25. },
  26. "devDependencies": {
  27. "autod": "^3.1.0",
  28. "autod-egg": "^1.1.0",
  29. "egg-bin": "^4.13.1",
  30. "egg-ci": "^1.13.0",
  31. "egg-mock": "^3.23.1",
  32. "eslint": "^6.1.0",
  33. "eslint-config-egg": "^7.4.1",
  34. "eslint-config-egg-naf": "0.0.3",
  35. "webstorm-disable-index": "^1.2.0"
  36. },
  37. "engines": {
  38. "node": ">=8.9.0"
  39. },
  40. "scripts": {
  41. "start": "egg-scripts start --daemon --title=egg-service-student",
  42. "stop": "egg-scripts stop --title=egg-service-student",
  43. "dev": "egg-bin dev",
  44. "debug": "egg-bin debug",
  45. "test": "npm run lint -- --fix && npm run test-local",
  46. "test-local": "egg-bin test",
  47. "cov": "egg-bin cov",
  48. "lint": "eslint .",
  49. "ci": "npm run lint && npm run cov",
  50. "autod": "autod",
  51. "pm2": "pm2 start",
  52. "restart": "pm2 restart service-student",
  53. "raml": "raml2html -i app/controller/api.raml -o app/public/api.html"
  54. },
  55. "ci": {
  56. "version": "8"
  57. },
  58. "repository": {
  59. "type": "git",
  60. "url": ""
  61. },
  62. "author": "dyg",
  63. "license": "MIT"
  64. }