package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@overleaf/document-updater",
  3. "description": "An API for applying incoming updates to documents in real-time",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node app.js",
  8. "test:acceptance:_run": "mocha --recursive --timeout 15000 --exit --retries=$RETRIES $@ test/acceptance/js",
  9. "test:acceptance": "yarn run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --exit $@ test/unit/js",
  11. "test:unit": "yarn run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "node --watch app.js",
  13. "benchmark:apply": "node benchmarks/apply",
  14. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/fetch-utils": "workspace:*",
  20. "@overleaf/logger": "workspace:*",
  21. "@overleaf/metrics": "workspace:*",
  22. "@overleaf/mongo-utils": "workspace:*",
  23. "@overleaf/o-error": "workspace:*",
  24. "@overleaf/promise-utils": "workspace:*",
  25. "@overleaf/ranges-tracker": "workspace:*",
  26. "@overleaf/redis-wrapper": "workspace:*",
  27. "@overleaf/settings": "workspace:*",
  28. "@types/chai-as-promised": "^7.1.8",
  29. "async": "^3.2.5",
  30. "body-parser": "1.20.4",
  31. "bull": "^3.18.0",
  32. "bunyan": "^1.8.15",
  33. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  34. "express": "4.22.1",
  35. "lodash": "^4.18.1",
  36. "minimist": "^1.2.8",
  37. "mongodb": "6.12.0",
  38. "mongodb-legacy": "6.1.3",
  39. "overleaf-editor-core": "workspace:*"
  40. },
  41. "devDependencies": {
  42. "@overleaf/migrations": "workspace:*",
  43. "@types/ioredis": "^4.28.10",
  44. "@types/mocha": "^10.0.6",
  45. "@types/node": "^24.5.2",
  46. "basic-auth": "^2.0.1",
  47. "chai": "^4.3.6",
  48. "chai-as-promised": "^7.1.1",
  49. "cluster-key-slot": "^1.0.5",
  50. "eslint": "^10.4.0",
  51. "mocha": "^11.1.0",
  52. "mocha-junit-reporter": "^2.2.1",
  53. "mocha-multi-reporters": "^1.5.1",
  54. "sandboxed-module": "^2.0.4",
  55. "sinon": "^9.2.4",
  56. "sinon-chai": "^3.7.0",
  57. "timekeeper": "^2.0.0",
  58. "tsscmp": "^1.0.6",
  59. "typescript": "^5.0.4"
  60. }
  61. }