package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. },
  19. "dependencies": {
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/o-error": "*",
  23. "@overleaf/ranges-tracker": "*",
  24. "@overleaf/redis-wrapper": "*",
  25. "@overleaf/settings": "*",
  26. "async": "^3.2.2",
  27. "body-parser": "^1.19.0",
  28. "bunyan": "^1.8.15",
  29. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  30. "express": "^4.18.2",
  31. "lodash": "^4.17.21",
  32. "mongodb": "^6.2.0",
  33. "mongodb-legacy": "^6.0.1",
  34. "request": "^2.88.2",
  35. "requestretry": "^7.1.0"
  36. },
  37. "devDependencies": {
  38. "chai": "^4.3.6",
  39. "chai-as-promised": "^7.1.1",
  40. "cluster-key-slot": "^1.0.5",
  41. "mocha": "^10.2.0",
  42. "sandboxed-module": "^2.0.4",
  43. "sinon": "^9.2.4",
  44. "sinon-chai": "^3.7.0",
  45. "timekeeper": "^2.0.0",
  46. "typescript": "^5.0.4"
  47. }
  48. }