ioredis
Version:
A robust, performance-focused and full-featured Redis client for Node.js.
99 lines (98 loc) • 3.1 kB
JSON
{
"name": "ioredis",
"version": "6.0.0",
"description": "A robust, performance-focused and full-featured Redis client for Node.js.",
"main": "./built/index.js",
"types": "./built/index.d.ts",
"files": [
"built/"
],
"scripts": {
"docker:setup": "docker compose -f test/docker-compose.yml up -d --wait",
"docker:teardown": "docker compose -f test/docker-compose.yml down --volumes --remove-orphans",
"test:tsd": "npm run build && tsd",
"test:js": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/helpers/*.ts\" \"test/unit/**/*.ts\" \"test/functional/**/*.ts\"",
"test:cov": "nyc npm run test:js",
"test:cluster": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/cluster/**/*.ts\"",
"test": "npm run test:js && npm run test:tsd",
"lint": "eslint --ext .js,.ts ./lib",
"docs": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts",
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"",
"format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"",
"build": "rm -rf built && tsc",
"prepublishOnly": "node bin/generate-version.js && npm run build",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/redis/ioredis.git"
},
"keywords": [
"redis",
"cluster",
"sentinel",
"pipelining"
],
"tsd": {
"directory": "test/typing"
},
"author": "Zihua Li <i@zihua.li> (http://zihua.li)",
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/ioredis"
},
"dependencies": {
"@ioredis/commands": "2.0.0",
"cluster-key-slot": "1.1.1",
"debug": "4.4.3",
"denque": "2.1.0",
"redis-errors": "1.2.0",
"standard-as-callback": "2.1.0"
},
"devDependencies": {
"@ioredis/interface-generator": "1.4.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.1",
"@semantic-release/exec": "7.1.0",
"@semantic-release/git": "10.0.1",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/debug": "^4.1.5",
"@types/mocha": "^9.1.0",
"@types/node": "^20.11.16",
"@types/redis-errors": "^1.2.1",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"mocha": "^11.7.6",
"nyc": "^15.1.0",
"prettier": "^2.6.1",
"semantic-release": "25.0.5",
"server-destroy": "^1.0.1",
"sinon": "^13.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"typedoc": "^0.25.7",
"typescript": "^5.3.3",
"uuid": "^9.0.0"
},
"nyc": {
"reporter": [
"lcov"
]
},
"engines": {
"node": ">=20.0.0"
},
"mocha": {
"exit": true,
"timeout": 8000,
"recursive": true,
"require": "ts-node/register"
}
}