{ "name": "@overleaf/redis-wrapper", "version": "2.1.0", "description": "Redis wrapper for node which will either use cluster or single instance redis", "main": "index.js", "types": "types/index.d.ts", "files": [ "index.js", "Errors.js", "RedisLocker.js", "RedisWebLocker.js" ], "author": "Overleaf (https://www.overleaf.com)", "repository": "github:overleaf/redis-wrapper", "license": "ISC", "scripts": { "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .", "lint:fix": "eslint --fix --ext .js --ext .cjs .", "format": "prettier --list-different $PWD/'**/*.{js,cjs}'", "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'", "test": "npm run lint && npm run format && npm run types:check && npm run test:unit", "test:ci": "npm run test:unit", "test:unit": "mocha --exit test/**/*.{js,cjs}", "types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly", "types:check": "tsc --noEmit", "types:rebuild": "rm -rf types && npm run types:build" }, "peerDependencies": { "@overleaf/logger": "*", "@overleaf/metrics": "*", "@overleaf/o-error": "*" }, "dependencies": { "async": "^3.2.2", "ioredis": "~4.27.1" }, "devDependencies": { "@overleaf/logger": "*", "@overleaf/o-error": "*", "chai": "^4.3.6", "mocha": "^10.2.0", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", "typescript": "^5.0.4" } }