overleaf/libraries/redis-wrapper/package.json
Jakob Ackermann aabe2d18b9 [misc] rewrite: squash history
- promisify
- merge health check for single node and cluster
- replace the first multi with simple SET in health check
- reworked health check with o-error context/stack-traces for failures
- drop console.error on health check timeout, consumer logs the error
- cleanup unwrapping of ioredis multi result
- Promise support for multi.exec

This has been squashed from das7pad s fork.
REF: b3dd8c5cf4cc6482fd450e6bb67013508844f93f
2020-11-10 10:34:06 +00:00

41 lines
1.2 KiB
JSON

{
"name": "redis-sharelatex",
"version": "1.0.13",
"description": "Redis wrapper for node which will either use cluster, sentinal, or single instance redis",
"main": "index.js",
"author": "ShareLaTeX",
"license": "ISC",
"scripts": {
"lint": "eslint --max-warnings 0 .",
"format": "prettier-eslint $PWD'/**/*.js' --list-different",
"format:fix": "prettier-eslint $PWD'/**/*.js' --write",
"test": "mocha --recursive test/unit/src/"
},
"peerDependencies": {
"@overleaf/o-error": "^3.1.0"
},
"dependencies": {
"ioredis": "~4.17.3"
},
"devDependencies": {
"@overleaf/o-error": "^3.1.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-chai-expect": "^2.1.0",
"eslint-plugin-chai-friendly": "^0.5.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-mocha": "^6.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"logger-sharelatex": "^2.2.0",
"mocha": "^8.2.1",
"prettier": "^2.0.2",
"prettier-eslint-cli": "^5.0.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.1"
}
}