package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "@overleaf/real-time",
  3. "description": "The socket.io layer of Overleaf for real-time editor interactions",
  4. "private": true,
  5. "main": "app.js",
  6. "type": "module",
  7. "scripts": {
  8. "start": "node app.js",
  9. "test:acceptance:_run": "mocha --recursive --timeout 15000 --exit $@ test/acceptance/js",
  10. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
  12. "test:unit": "npm run test:unit:_run",
  13. "nodemon": "node --watch app.js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/fetch-utils": "*",
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/o-error": "*",
  23. "@overleaf/redis-wrapper": "*",
  24. "@overleaf/settings": "*",
  25. "@overleaf/validation-tools": "*",
  26. "async": "^3.2.5",
  27. "base64id": "0.1.0",
  28. "body-parser": "1.20.4",
  29. "bunyan": "^1.8.15",
  30. "connect-redis": "^6.1.3",
  31. "cookie-parser": "^1.4.6",
  32. "express": "4.22.1",
  33. "express-session": "^1.17.1",
  34. "lodash": "^4.17.21",
  35. "proxy-addr": "^2.0.7",
  36. "request": "2.88.2",
  37. "socket.io": "github:overleaf/socket.io#0.9.19-overleaf-12",
  38. "socket.io-client": "github:overleaf/socket.io-client#0.9.17-overleaf-5",
  39. "zod-validation-error": "^4.0.1"
  40. },
  41. "devDependencies": {
  42. "chai": "^4.3.6",
  43. "chai-as-promised": "^7.1.1",
  44. "cookie-signature": "^1.1.0",
  45. "mocha": "^11.1.0",
  46. "mocha-junit-reporter": "^2.2.1",
  47. "mocha-multi-reporters": "^1.5.1",
  48. "sinon": "^9.2.4",
  49. "sinon-chai": "4.0.1",
  50. "timekeeper": "0.0.4",
  51. "typescript": "^5.0.4",
  52. "uid-safe": "^2.1.5",
  53. "vitest": "^4.0.0"
  54. }
  55. }