2014-09-25 16:33:27 +00:00
|
|
|
{
|
2020-11-09 17:51:06 +00:00
|
|
|
"name": "@overleaf/redis-wrapper",
|
2021-10-28 13:10:45 +00:00
|
|
|
"version": "2.1.0",
|
2020-11-09 17:45:59 +00:00
|
|
|
"description": "Redis wrapper for node which will either use cluster or single instance redis",
|
2014-11-07 15:02:45 +00:00
|
|
|
"main": "index.js",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types": "types/index.d.ts",
|
2020-11-09 17:45:59 +00:00
|
|
|
"files": [
|
|
|
|
"index.js",
|
2022-05-18 08:22:20 +00:00
|
|
|
"Errors.js",
|
2022-06-16 08:21:38 +00:00
|
|
|
"RedisLocker.js",
|
|
|
|
"RedisWebLocker.js"
|
2020-11-09 17:45:59 +00:00
|
|
|
],
|
|
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
|
|
"repository": "github:overleaf/redis-wrapper",
|
2014-09-25 16:33:27 +00:00
|
|
|
"license": "ISC",
|
2020-11-09 16:03:33 +00:00
|
|
|
"scripts": {
|
2024-01-11 13:26:29 +00:00
|
|
|
"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}'",
|
2024-01-16 19:24:03 +00:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 13:26:29 +00:00
|
|
|
"test:ci": "npm run test:unit",
|
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2024-01-23 19:53:37 +00:00
|
|
|
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2020-11-09 16:03:33 +00:00
|
|
|
},
|
2020-11-10 10:34:06 +00:00
|
|
|
"peerDependencies": {
|
2022-05-16 14:25:37 +00:00
|
|
|
"@overleaf/logger": "*",
|
2022-05-18 08:22:20 +00:00
|
|
|
"@overleaf/metrics": "*",
|
2022-10-27 15:35:43 +00:00
|
|
|
"@overleaf/o-error": "*"
|
2020-11-10 10:34:06 +00:00
|
|
|
},
|
2014-09-25 16:33:27 +00:00
|
|
|
"dependencies": {
|
2022-06-21 08:07:14 +00:00
|
|
|
"async": "^3.2.2",
|
|
|
|
"ioredis": "~4.27.1"
|
2017-10-24 09:46:38 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-21 08:07:14 +00:00
|
|
|
"@overleaf/logger": "*",
|
2022-10-27 15:35:43 +00:00
|
|
|
"@overleaf/o-error": "*",
|
2022-02-07 11:46:51 +00:00
|
|
|
"chai": "^4.3.6",
|
2023-01-16 15:55:29 +00:00
|
|
|
"mocha": "^10.2.0",
|
2020-11-09 16:03:33 +00:00
|
|
|
"sandboxed-module": "^2.0.4",
|
2024-01-11 13:26:29 +00:00
|
|
|
"sinon": "^9.2.4",
|
|
|
|
"typescript": "^5.0.4"
|
2014-09-25 16:33:27 +00:00
|
|
|
}
|
2020-06-01 08:11:57 +00:00
|
|
|
}
|