mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
5c517a56c3
Small backend Typescript config fixes GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
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 --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"
|
|
}
|
|
}
|