package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 --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. "benchmark:apply": "node benchmarks/apply",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/*.*js'",
  16. "format:fix": "prettier --write $PWD/'**/*.*js'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  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.3",
  31. "bunyan": "^1.8.15",
  32. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  33. "express": "^4.21.2",
  34. "lodash": "^4.17.21",
  35. "minimist": "^1.2.8",
  36. "mongodb-legacy": "6.1.3",
  37. "request": "^2.88.2",
  38. "requestretry": "^7.1.0"
  39. },
  40. "devDependencies": {
  41. "chai": "^4.3.6",
  42. "chai-as-promised": "^7.1.1",
  43. "cluster-key-slot": "^1.0.5",
  44. "mocha": "^11.1.0",
  45. "sandboxed-module": "^2.0.4",
  46. "sinon": "^9.2.4",
  47. "sinon-chai": "^3.7.0",
  48. "timekeeper": "^2.0.0",
  49. "typescript": "^5.0.4"
  50. }
  51. }