package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "koa",
  3. "version": "2.13.4",
  4. "description": "Koa web app framework",
  5. "main": "lib/application.js",
  6. "exports": {
  7. ".": {
  8. "require": "./lib/application.js",
  9. "import": "./dist/koa.mjs"
  10. },
  11. "./lib/request": "./lib/request.js",
  12. "./lib/request.js": "./lib/request.js",
  13. "./lib/response": "./lib/response.js",
  14. "./lib/response.js": "./lib/response.js",
  15. "./lib/application": "./lib/application.js",
  16. "./lib/application.js": "./lib/application.js",
  17. "./lib/context": "./lib/context.js",
  18. "./lib/context.js": "./lib/context.js",
  19. "./*": "./*.js",
  20. "./*.js": "./*.js",
  21. "./package": "./package.json",
  22. "./package.json": "./package.json"
  23. },
  24. "scripts": {
  25. "test": "jest --forceExit",
  26. "lint": "eslint --ignore-path .gitignore .",
  27. "authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
  28. "build": "gen-esm-wrapper . ./dist/koa.mjs",
  29. "prepare": "npm run build"
  30. },
  31. "repository": "koajs/koa",
  32. "keywords": [
  33. "web",
  34. "app",
  35. "http",
  36. "application",
  37. "framework",
  38. "middleware",
  39. "rack"
  40. ],
  41. "license": "MIT",
  42. "dependencies": {
  43. "accepts": "^1.3.5",
  44. "cache-content-type": "^1.0.0",
  45. "content-disposition": "~0.5.2",
  46. "content-type": "^1.0.4",
  47. "cookies": "~0.8.0",
  48. "debug": "^4.3.2",
  49. "delegates": "^1.0.0",
  50. "depd": "^2.0.0",
  51. "destroy": "^1.0.4",
  52. "encodeurl": "^1.0.2",
  53. "escape-html": "^1.0.3",
  54. "fresh": "~0.5.2",
  55. "http-assert": "^1.3.0",
  56. "http-errors": "^1.6.3",
  57. "is-generator-function": "^1.0.7",
  58. "koa-compose": "^4.1.0",
  59. "koa-convert": "^2.0.0",
  60. "on-finished": "^2.3.0",
  61. "only": "~0.0.2",
  62. "parseurl": "^1.3.2",
  63. "statuses": "^1.5.0",
  64. "type-is": "^1.6.16",
  65. "vary": "^1.1.2"
  66. },
  67. "devDependencies": {
  68. "eslint": "^7.32.0",
  69. "eslint-config-koa": "^2.0.0",
  70. "eslint-config-standard": "^16.0.3",
  71. "eslint-plugin-import": "^2.18.2",
  72. "eslint-plugin-node": "^11.1.0",
  73. "eslint-plugin-promise": "^5.1.0",
  74. "eslint-plugin-standard": "^5.0.0",
  75. "gen-esm-wrapper": "^1.0.6",
  76. "jest": "^27.0.6",
  77. "supertest": "^3.1.0"
  78. },
  79. "engines": {
  80. "node": "^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4"
  81. },
  82. "files": [
  83. "dist",
  84. "lib"
  85. ],
  86. "jest": {
  87. "testEnvironment": "node"
  88. }
  89. }