package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "@overleaf/redis-wrapper",
  3. "version": "2.1.0",
  4. "description": "Redis wrapper for node which will either use cluster or single instance redis",
  5. "main": "index.js",
  6. "files": [
  7. "index.js",
  8. "Errors.js",
  9. "RedisLocker.js",
  10. "RedisWebLocker.js"
  11. ],
  12. "author": "Overleaf (https://www.overleaf.com)",
  13. "repository": "github:overleaf/redis-wrapper",
  14. "license": "ISC",
  15. "scripts": {
  16. "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  17. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  18. "test": "npm run lint && npm run types:check && npm run test:unit",
  19. "test:ci": "npm run test:unit",
  20. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  21. "types:check": "tsc --noEmit"
  22. },
  23. "peerDependencies": {
  24. "@overleaf/logger": "*",
  25. "@overleaf/metrics": "*",
  26. "@overleaf/o-error": "*"
  27. },
  28. "dependencies": {
  29. "async": "^3.2.5",
  30. "ioredis": "~4.27.1"
  31. },
  32. "devDependencies": {
  33. "@overleaf/logger": "*",
  34. "@overleaf/o-error": "*",
  35. "chai": "^4.3.6",
  36. "mocha": "^11.1.0",
  37. "mocha-junit-reporter": "^2.2.1",
  38. "mocha-multi-reporters": "^1.5.1",
  39. "sandboxed-module": "^2.0.4",
  40. "sinon": "^9.2.4",
  41. "typescript": "^5.0.4"
  42. }
  43. }