package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "scripts": {
  7. "start": "node app.js",
  8. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "node --watch app.js",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix ."
  17. },
  18. "dependencies": {
  19. "@hapi/joi": "^17.1.1",
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/o-error": "*",
  23. "@overleaf/redis-wrapper": "*",
  24. "@overleaf/settings": "*",
  25. "async": "^3.2.2",
  26. "base64id": "0.1.0",
  27. "body-parser": "^1.19.0",
  28. "bunyan": "^1.8.15",
  29. "connect-redis": "^6.1.3",
  30. "cookie-parser": "^1.4.5",
  31. "express": "^4.18.2",
  32. "express-session": "^1.17.1",
  33. "proxy-addr": "^2.0.7",
  34. "request": "^2.88.2",
  35. "socket.io": "github:overleaf/socket.io#0.9.19-overleaf-10",
  36. "socket.io-client": "github:overleaf/socket.io-client#0.9.17-overleaf-5",
  37. "underscore": "1.13.1"
  38. },
  39. "devDependencies": {
  40. "chai": "^4.3.6",
  41. "chai-as-promised": "^7.1.1",
  42. "cookie-signature": "^1.1.0",
  43. "mocha": "^10.2.0",
  44. "sandboxed-module": "~0.3.0",
  45. "sinon": "^9.2.4",
  46. "timekeeper": "0.0.4",
  47. "uid-safe": "^2.1.5"
  48. }
  49. }