package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "ioredis",
  3. "version": "5.10.1",
  4. "description": "A robust, performance-focused and full-featured Redis client for Node.js.",
  5. "main": "./built/index.js",
  6. "types": "./built/index.d.ts",
  7. "files": [
  8. "built/"
  9. ],
  10. "scripts": {
  11. "docker:setup": "docker compose -f test/docker-compose.yml up -d --wait",
  12. "docker:teardown": "docker compose -f test/docker-compose.yml down --volumes --remove-orphans",
  13. "test:tsd": "npm run build && tsd",
  14. "test:js": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/helpers/*.ts\" \"test/unit/**/*.ts\" \"test/functional/**/*.ts\"",
  15. "test:cov": "nyc npm run test:js",
  16. "test:cluster": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/cluster/**/*.ts\"",
  17. "test": "npm run test:js && npm run test:tsd",
  18. "lint": "eslint --ext .js,.ts ./lib",
  19. "docs": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts",
  20. "format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"",
  21. "format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"",
  22. "build": "rm -rf built && tsc",
  23. "prepublishOnly": "npm run build",
  24. "semantic-release": "semantic-release"
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git://github.com/luin/ioredis.git"
  29. },
  30. "keywords": [
  31. "redis",
  32. "cluster",
  33. "sentinel",
  34. "pipelining"
  35. ],
  36. "tsd": {
  37. "directory": "test/typing"
  38. },
  39. "author": "Zihua Li <i@zihua.li> (http://zihua.li)",
  40. "license": "MIT",
  41. "funding": {
  42. "type": "opencollective",
  43. "url": "https://opencollective.com/ioredis"
  44. },
  45. "dependencies": {
  46. "@ioredis/commands": "1.5.1",
  47. "cluster-key-slot": "^1.1.0",
  48. "debug": "^4.3.4",
  49. "denque": "^2.1.0",
  50. "lodash.defaults": "^4.2.0",
  51. "lodash.isarguments": "^3.1.0",
  52. "redis-errors": "^1.2.0",
  53. "redis-parser": "^3.0.0",
  54. "standard-as-callback": "^2.1.0"
  55. },
  56. "devDependencies": {
  57. "@ioredis/interface-generator": "^1.3.0",
  58. "@semantic-release/changelog": "^6.0.1",
  59. "@semantic-release/commit-analyzer": "^9.0.2",
  60. "@semantic-release/git": "^10.0.1",
  61. "@types/chai": "^4.3.0",
  62. "@types/chai-as-promised": "^7.1.5",
  63. "@types/debug": "^4.1.5",
  64. "@types/lodash.defaults": "^4.2.7",
  65. "@types/lodash.isarguments": "^3.1.7",
  66. "@types/mocha": "^9.1.0",
  67. "@types/node": "^14.18.12",
  68. "@types/redis-errors": "^1.2.1",
  69. "@types/sinon": "^10.0.11",
  70. "@typescript-eslint/eslint-plugin": "^5.48.1",
  71. "@typescript-eslint/parser": "^5.48.1",
  72. "chai": "^4.3.6",
  73. "chai-as-promised": "^7.1.1",
  74. "eslint": "^8.31.0",
  75. "eslint-config-prettier": "^8.6.0",
  76. "mocha": "^9.2.1",
  77. "nyc": "^15.1.0",
  78. "prettier": "^2.6.1",
  79. "semantic-release": "^19.0.2",
  80. "server-destroy": "^1.0.1",
  81. "sinon": "^13.0.1",
  82. "ts-node": "^10.4.0",
  83. "tsd": "^0.19.1",
  84. "typedoc": "^0.22.18",
  85. "typescript": "^4.6.3",
  86. "uuid": "^9.0.0"
  87. },
  88. "nyc": {
  89. "reporter": [
  90. "lcov"
  91. ]
  92. },
  93. "engines": {
  94. "node": ">=12.22.0"
  95. },
  96. "mocha": {
  97. "exit": true,
  98. "timeout": 8000,
  99. "recursive": true,
  100. "require": "ts-node/register"
  101. }
  102. }