package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. {
  2. "_args": [
  3. [
  4. "koa-redis@4.0.1",
  5. "/Users/zhanwencai/code/game/congkong/webServer"
  6. ]
  7. ],
  8. "_from": "koa-redis@4.0.1",
  9. "_id": "koa-redis@4.0.1",
  10. "_inBundle": false,
  11. "_integrity": "sha512-o2eTVNo1NBnloeUGhHed5Q2ZvJSLpUEj/+E1/7oH5EmH8WuQ+QLdl/VawkshxdFQ47W1p6V09lM3hCTu7D0YnQ==",
  12. "_location": "/koa-redis",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "koa-redis@4.0.1",
  18. "name": "koa-redis",
  19. "escapedName": "koa-redis",
  20. "rawSpec": "4.0.1",
  21. "saveSpec": null,
  22. "fetchSpec": "4.0.1"
  23. },
  24. "_requiredBy": [
  25. "/"
  26. ],
  27. "_resolved": "https://registry.npmmirror.com/koa-redis/-/koa-redis-4.0.1.tgz",
  28. "_spec": "4.0.1",
  29. "_where": "/Users/zhanwencai/code/game/congkong/webServer",
  30. "author": {
  31. "name": "dead_horse",
  32. "email": "dead_horse@qq.com"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/koajs/koa-redis/issues"
  36. },
  37. "commitlint": {
  38. "extends": [
  39. "@commitlint/config-conventional"
  40. ]
  41. },
  42. "contributors": [
  43. {
  44. "name": "dead_horse",
  45. "email": "dead_horse@qq.com"
  46. },
  47. {
  48. "name": "Nick Baugh",
  49. "email": "niftylettuce@gmail.com",
  50. "url": "http://niftylettuce.com/"
  51. }
  52. ],
  53. "dependencies": {
  54. "@babel/runtime": "^7.8.3",
  55. "co-wrap-all": "^1.0.0",
  56. "debug": "^4.1.1",
  57. "ioredis": "^4.14.1"
  58. },
  59. "description": "Redis storage for Koa session middleware/cache with Sentinel and Cluster support",
  60. "devDependencies": {
  61. "@babel/cli": "^7.8.3",
  62. "@babel/core": "^7.8.3",
  63. "@babel/plugin-transform-runtime": "^7.8.3",
  64. "@babel/preset-env": "^7.8.3",
  65. "@commitlint/cli": "^8.3.5",
  66. "@commitlint/config-conventional": "^8.3.4",
  67. "autod": "^3.1.0",
  68. "co-mocha": "^1.2.2",
  69. "connect": "^3.7.0",
  70. "connect-redis": "^4.0.3",
  71. "eslint": "^6.8.0",
  72. "eslint-config-xo-lass": "^1.0.3",
  73. "eslint-plugin-node": "^11.0.0",
  74. "fixpack": "^2.3.1",
  75. "husky": "3.x",
  76. "istanbul": "^0.4.5",
  77. "koa": "^2.11.0",
  78. "koa-generic-session": "^2.0.4",
  79. "lint-staged": "^9.5.0",
  80. "mocha": "3.x",
  81. "remark-cli": "^7.0.1",
  82. "remark-preset-github": "^0.0.16",
  83. "rimraf": "^3.0.0",
  84. "should": "^13.2.3",
  85. "xo": "^0.25.3"
  86. },
  87. "engines": {
  88. "node": ">= 4"
  89. },
  90. "files": [
  91. "lib"
  92. ],
  93. "homepage": "https://github.com/koajs/koa-redis",
  94. "husky": {
  95. "hooks": {
  96. "pre-commit": "npm test",
  97. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  98. }
  99. },
  100. "keywords": [
  101. "cache",
  102. "caching",
  103. "client",
  104. "clients",
  105. "cluster",
  106. "clustering",
  107. "clusters",
  108. "express",
  109. "ioredis",
  110. "koa",
  111. "middleware",
  112. "multiple",
  113. "node",
  114. "nodes",
  115. "redis",
  116. "scale",
  117. "sentinal",
  118. "sentinals",
  119. "sentinel",
  120. "sentinels",
  121. "session",
  122. "storage",
  123. "store"
  124. ],
  125. "license": "MIT",
  126. "lint-staged": {
  127. "linters": {
  128. "*.js": [
  129. "xo --fix",
  130. "git add"
  131. ],
  132. "*.md": [
  133. "remark . -qfo",
  134. "git add"
  135. ],
  136. "package.json": [
  137. "fixpack",
  138. "git add"
  139. ]
  140. }
  141. },
  142. "main": "lib/index.js",
  143. "name": "koa-redis",
  144. "prettier": {
  145. "singleQuote": true,
  146. "bracketSpacing": true,
  147. "trailingComma": "none"
  148. },
  149. "remarkConfig": {
  150. "plugins": [
  151. "preset-github"
  152. ]
  153. },
  154. "repository": {
  155. "type": "git",
  156. "url": "git+https://github.com/koajs/koa-redis.git"
  157. },
  158. "scripts": {
  159. "autod": "autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod",
  160. "build": "npm run build:clean && npm run build:lib",
  161. "build:clean": "rimraf lib",
  162. "build:lib": "babel src --out-dir lib",
  163. "lint": "xo && remark . -qfo && eslint lib",
  164. "test": "npm run build && npm run lint && istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"",
  165. "test-only": "mocha --require co-mocha \"test/**/*.test.js\""
  166. },
  167. "version": "4.0.1",
  168. "xo": {
  169. "prettier": true,
  170. "space": true,
  171. "extends": [
  172. "xo-lass"
  173. ],
  174. "overrides": [
  175. {
  176. "files": "test/**/*.js",
  177. "envs": [
  178. "mocha"
  179. ]
  180. }
  181. ]
  182. }
  183. }