package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "_args": [
  3. [
  4. "@koa/router@12.0.1",
  5. "/Users/zhanwencai/code/game/congkong/webServer"
  6. ]
  7. ],
  8. "_from": "@koa/router@12.0.1",
  9. "_id": "@koa/router@12.0.1",
  10. "_inBundle": false,
  11. "_integrity": "sha512-ribfPYfHb+Uw3b27Eiw6NPqjhIhTpVFzEWLwyc/1Xp+DCdwRRyIlAUODX+9bPARF6aQtUu1+/PHzdNvRzcs/+Q==",
  12. "_location": "/@koa/router",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "@koa/router@12.0.1",
  18. "name": "@koa/router",
  19. "escapedName": "@koa%2frouter",
  20. "scope": "@koa",
  21. "rawSpec": "12.0.1",
  22. "saveSpec": null,
  23. "fetchSpec": "12.0.1"
  24. },
  25. "_requiredBy": [
  26. "/"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/@koa/router/-/router-12.0.1.tgz",
  29. "_spec": "12.0.1",
  30. "_where": "/Users/zhanwencai/code/game/congkong/webServer",
  31. "author": {
  32. "name": "Alex Mingoia",
  33. "email": "talk@alexmingoia.com"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/koajs/router/issues",
  37. "email": "niftylettuce@gmail.com"
  38. },
  39. "contributors": [
  40. {
  41. "name": "Alex Mingoia",
  42. "email": "talk@alexmingoia.com"
  43. },
  44. {
  45. "name": "@koajs"
  46. }
  47. ],
  48. "dependencies": {
  49. "debug": "^4.3.4",
  50. "http-errors": "^2.0.0",
  51. "koa-compose": "^4.1.0",
  52. "methods": "^1.1.2",
  53. "path-to-regexp": "^6.2.1"
  54. },
  55. "description": "Router middleware for koa. Maintained by Forward Email and Lad.",
  56. "devDependencies": {
  57. "@commitlint/cli": "^17.7.2",
  58. "@commitlint/config-conventional": "^17.7.0",
  59. "@ladjs/env": "^4.0.0",
  60. "ava": "^5.3.1",
  61. "cross-env": "^7.0.3",
  62. "eslint": "8.39.0",
  63. "eslint-config-xo-lass": "^2.0.1",
  64. "expect.js": "^0.3.1",
  65. "fixpack": "^4.0.0",
  66. "husky": "^8.0.3",
  67. "jsdoc-to-markdown": "^8.0.0",
  68. "koa": "^2.14.2",
  69. "lint-staged": "^14.0.1",
  70. "mocha": "^10.2.0",
  71. "nyc": "^15.1.0",
  72. "remark-cli": "11",
  73. "remark-preset-github": "^4.0.4",
  74. "should": "^13.2.3",
  75. "supertest": "^6.3.3",
  76. "wrk": "^1.2.1",
  77. "xo": "0.53.1"
  78. },
  79. "engines": {
  80. "node": ">= 12"
  81. },
  82. "files": [
  83. "lib"
  84. ],
  85. "homepage": "https://github.com/koajs/router",
  86. "keywords": [
  87. "koa",
  88. "middleware",
  89. "route",
  90. "router"
  91. ],
  92. "license": "MIT",
  93. "main": "lib/router.js",
  94. "name": "@koa/router",
  95. "repository": {
  96. "type": "git",
  97. "url": "git+https://github.com/koajs/router.git"
  98. },
  99. "scripts": {
  100. "bench": "make -C bench",
  101. "coverage": "nyc npm run test",
  102. "docs": "NODE_ENV=test jsdoc2md -t ./lib/API_tpl.hbs --src ./lib/*.js >| API.md",
  103. "lint": "xo --fix && remark . -qfo && fixpack",
  104. "prepare": "husky install",
  105. "pretest": "npm run lint",
  106. "test": "mocha test/**/*.js",
  107. "test:watch": "mocha test/**/*.js --watch"
  108. },
  109. "version": "12.0.1"
  110. }