package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --exit $@ test/unit/js",
  11. "test:unit": "npm 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 ../../node_modules/.cache/eslint/ --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/fetch-utils": "*",
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/mongo-utils": "*",
  23. "@overleaf/o-error": "*",
  24. "@overleaf/promise-utils": "*",
  25. "@overleaf/ranges-tracker": "*",
  26. "@overleaf/redis-wrapper": "*",
  27. "@overleaf/settings": "*",
  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.17.21",
  36. "minimist": "^1.2.8",
  37. "mongodb-legacy": "6.1.3",
  38. "overleaf-editor-core": "*"
  39. },
  40. "devDependencies": {
  41. "@overleaf/migrations": "*",
  42. "basic-auth": "^2.0.1",
  43. "chai": "^4.3.6",
  44. "chai-as-promised": "^7.1.1",
  45. "cluster-key-slot": "^1.0.5",
  46. "mocha": "^11.1.0",
  47. "mocha-junit-reporter": "^2.2.1",
  48. "mocha-multi-reporters": "^1.5.1",
  49. "sandboxed-module": "^2.0.4",
  50. "sinon": "^9.2.4",
  51. "sinon-chai": "^3.7.0",
  52. "timekeeper": "^2.0.0",
  53. "tsscmp": "^1.0.6",
  54. "typescript": "^5.0.4"
  55. }
  56. }