package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "ioredis",
  3. "version": "5.0.4",
  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. "test:tsd": "npm run build && tsd",
  12. "test:js": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha \"test/helpers/*.ts\" \"test/unit/**/*.ts\" \"test/functional/**/*.ts\"",
  13. "test:cov": "nyc npm run test:js",
  14. "test:js:cluster": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha \"test/cluster/**/*.ts\"",
  15. "test": "npm run test:js && npm run test:tsd",
  16. "lint": "eslint --ext .js,.ts ./lib",
  17. "docs": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts",
  18. "format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"",
  19. "format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"",
  20. "build": "rm -rf built && tsc",
  21. "prepublishOnly": "npm run build",
  22. "semantic-release": "semantic-release"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git://github.com/luin/ioredis.git"
  27. },
  28. "keywords": [
  29. "redis",
  30. "cluster",
  31. "sentinel",
  32. "pipelining"
  33. ],
  34. "tsd": {
  35. "directory": "test/typing"
  36. },
  37. "author": "Zihua Li <i@zihua.li> (http://zihua.li)",
  38. "license": "MIT",
  39. "funding": {
  40. "type": "opencollective",
  41. "url": "https://opencollective.com/ioredis"
  42. },
  43. "dependencies": {
  44. "@ioredis/commands": "^1.1.1",
  45. "cluster-key-slot": "^1.1.0",
  46. "debug": "^4.3.4",
  47. "denque": "^2.0.1",
  48. "lodash.defaults": "^4.2.0",
  49. "lodash.isarguments": "^3.1.0",
  50. "redis-errors": "^1.2.0",
  51. "redis-parser": "^3.0.0",
  52. "standard-as-callback": "^2.1.0"
  53. },
  54. "devDependencies": {
  55. "@ioredis/interface-generator": "^1.2.1",
  56. "@semantic-release/changelog": "^6.0.1",
  57. "@semantic-release/commit-analyzer": "^9.0.2",
  58. "@semantic-release/git": "^10.0.1",
  59. "@types/chai": "^4.3.0",
  60. "@types/chai-as-promised": "^7.1.5",
  61. "@types/debug": "^4.1.5",
  62. "@types/lodash.defaults": "^4.2.6",
  63. "@types/lodash.isarguments": "^3.1.6",
  64. "@types/mocha": "^9.1.0",
  65. "@types/node": "^14.18.12",
  66. "@types/redis-errors": "^1.2.1",
  67. "@types/sinon": "^10.0.11",
  68. "@typescript-eslint/eslint-plugin": "^5.16.0",
  69. "@typescript-eslint/parser": "^5.16.0",
  70. "chai": "^4.3.6",
  71. "chai-as-promised": "^7.1.1",
  72. "eslint": "^8.12.0",
  73. "eslint-config-prettier": "^8.4.0",
  74. "mocha": "^9.2.1",
  75. "nyc": "^15.1.0",
  76. "prettier": "^2.6.1",
  77. "semantic-release": "^19.0.2",
  78. "server-destroy": "^1.0.1",
  79. "sinon": "^13.0.1",
  80. "ts-node": "^10.4.0",
  81. "tsd": "^0.19.1",
  82. "typedoc": "^0.22.12",
  83. "typescript": "^4.6.3",
  84. "uuid": "^8.3.0"
  85. },
  86. "nyc": {
  87. "reporter": [
  88. "lcov"
  89. ]
  90. },
  91. "engines": {
  92. "node": ">=12.22.0"
  93. },
  94. "mocha": {
  95. "exit": true,
  96. "timeout": 8000,
  97. "recursive": true,
  98. "require": "ts-node/register"
  99. }
  100. }