查看 node_modules下的 egg目录,可以看到 package.json里面安装的依赖包。
image.png

package.json

  1. {
  2. "name": "egg",
  3. "version": "2.33.1",
  4. "description": "A web framework's framework for Node.js",
  5. "keywords": [
  6. "web",
  7. "app",
  8. "http",
  9. "application",
  10. "framework",
  11. "middleware",
  12. "koa",
  13. "egg"
  14. ],
  15. "dependencies": {
  16. "@types/accepts": "^1.3.5",
  17. "@types/koa": "^2.0.48",
  18. "@types/koa-router": "^7.0.40",
  19. "accepts": "^1.3.5",
  20. "agentkeepalive": "^4.0.2",
  21. "cache-content-type": "^1.0.1",
  22. "circular-json-for-egg": "^1.0.0",
  23. "cluster-client": "^3.0.1",
  24. "debug": "^4.1.1",
  25. "delegates": "^1.0.0",
  26. "egg-cluster": "^1.23.0",
  27. "egg-cookies": "^2.3.0",
  28. "egg-core": "^4.18.0",
  29. "egg-development": "^2.4.2",
  30. "egg-errors": "^2.3.0",
  31. "egg-i18n": "^2.0.0",
  32. "egg-jsonp": "^2.0.0",
  33. "egg-logger": "^2.3.2",
  34. "egg-logrotator": "^3.0.5",
  35. "egg-multipart": "^2.4.0",
  36. "egg-onerror": "^2.1.0",
  37. "egg-schedule": "^3.6.0",
  38. "egg-security": "^2.4.3",
  39. "egg-session": "^3.1.0",
  40. "egg-static": "^2.2.0",
  41. "egg-view": "^2.1.2",
  42. "egg-watcher": "^3.1.0",
  43. "extend2": "^1.0.0",
  44. "graceful": "^1.0.2",
  45. "humanize-ms": "^1.2.1",
  46. "is-type-of": "^1.2.1",
  47. "koa-bodyparser": "^4.2.1",
  48. "koa-is-json": "^1.0.0",
  49. "koa-override": "^3.0.0",
  50. "ms": "^2.1.1",
  51. "mz": "^2.7.0",
  52. "on-finished": "^2.3.0",
  53. "semver": "^7.3.2",
  54. "sendmessage": "^1.1.0",
  55. "urllib": "^2.33.0",
  56. "utility": "^1.15.0",
  57. "ylru": "^1.2.1"
  58. },
  59. "devDependencies": {
  60. "address": "^1.0.3",
  61. "assert-extends": "^1.0.1",
  62. "assert-file": "^1.0.0",
  63. "autod": "^3.0.1",
  64. "autod-egg": "^1.1.0",
  65. "coffee": "^5.2.1",
  66. "egg-alinode": "^1.0.3",
  67. "egg-bin": "^4.12.3",
  68. "egg-doctools": "^2.8.3",
  69. "egg-mock": "^3.21.0",
  70. "egg-plugin-puml": "^2.4.0",
  71. "egg-tracer": "^1.1.0",
  72. "egg-view-nunjucks": "^2.2.0",
  73. "eslint": "^5.15.1",
  74. "eslint-config-egg": "^7.1.0",
  75. "findlinks": "^2.1.0",
  76. "formstream": "^1.1.0",
  77. "glob": "^7.1.3",
  78. "koa": "^2.11.0",
  79. "koa-static": "^3.0.0",
  80. "mz": "^2.7.0",
  81. "mz-modules": "^2.1.0",
  82. "pedding": "^1.1.0",
  83. "runscript": "^1.3.0",
  84. "spy": "^1.0.0",
  85. "supertest": "^3.4.2",
  86. "ts-node": "^8.0.3",
  87. "typescript": "^3.3.3333"
  88. },
  89. "main": "index.js",
  90. "types": "index.d.ts",
  91. "files": [
  92. "index.js",
  93. "lib",
  94. "app",
  95. "config",
  96. "agent.js",
  97. "index.d.ts"
  98. ],
  99. "scripts": {
  100. "lint": "eslint app config lib test *.js",
  101. "test": "npm run lint -- --fix && egg-bin pkgfiles && npm run test-local",
  102. "test-local": "egg-bin test",
  103. "test-local-changed": "egg-bin test --changed",
  104. "cov": "egg-bin cov --timeout 100000",
  105. "ci": "npm run lint && egg-bin pkgfiles --check && npm run cov",
  106. "doc-server": "doctools server",
  107. "doc-build": "doctools build",
  108. "doc-deploy": "doctools deploy",
  109. "autod": "autod",
  110. "puml": "puml . --dest ./docs",
  111. "commits": "./scripts/commits.sh"
  112. },
  113. "homepage": "https://github.com/eggjs/egg",
  114. "repository": {
  115. "type": "git",
  116. "url": "https://github.com/eggjs/egg.git"
  117. },
  118. "engines": {
  119. "node": ">= 8.5.0"
  120. },
  121. "license": "MIT"
  122. }