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