mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 02:53:48 -05:00
b92d1a0251
Fix typescript config in the backend GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
46 lines
1.4 KiB
JSON
46 lines
1.4 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",
|
|
"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 --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"
|
|
}
|
|
}
|