mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 21:14:40 -05:00
84be385550
[misc] sync build scripts GitOrigin-RevId: 343fd861b6c7b3d81b21babbd41bbb968f0fd448
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"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",
|
|
"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 --ext .ts --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
|
|
"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:check": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"@overleaf/logger": "*",
|
|
"@overleaf/metrics": "*",
|
|
"@overleaf/o-error": "*"
|
|
},
|
|
"dependencies": {
|
|
"async": "^3.2.5",
|
|
"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"
|
|
}
|
|
}
|