package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 $@ 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 --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
  16. "format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/fetch-utils": "*",
  22. "@overleaf/logger": "*",
  23. "@overleaf/metrics": "*",
  24. "@overleaf/mongo-utils": "*",
  25. "@overleaf/o-error": "*",
  26. "@overleaf/promise-utils": "*",
  27. "@overleaf/ranges-tracker": "*",
  28. "@overleaf/redis-wrapper": "*",
  29. "@overleaf/settings": "*",
  30. "@types/chai-as-promised": "^7.1.8",
  31. "async": "^3.2.5",
  32. "body-parser": "^1.20.3",
  33. "bunyan": "^1.8.15",
  34. "bull": "^3.18.0",
  35. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  36. "express": "^4.21.2",
  37. "lodash": "^4.17.21",
  38. "minimist": "^1.2.8",
  39. "mongodb-legacy": "6.1.3",
  40. "overleaf-editor-core": "*",
  41. "request": "^2.88.2",
  42. "requestretry": "^7.1.0"
  43. },
  44. "devDependencies": {
  45. "@overleaf/migrations": "*",
  46. "chai": "^4.3.6",
  47. "chai-as-promised": "^7.1.1",
  48. "cluster-key-slot": "^1.0.5",
  49. "mocha": "^11.1.0",
  50. "mocha-junit-reporter": "^2.2.1",
  51. "mocha-multi-reporters": "^1.5.1",
  52. "sandboxed-module": "^2.0.4",
  53. "sinon": "^9.2.4",
  54. "sinon-chai": "^3.7.0",
  55. "timekeeper": "^2.0.0",
  56. "typescript": "^5.0.4"
  57. }
  58. }