package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 --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,Jenkinsfile}'",
  16. "format:fix": "prettier --write $PWD/'**/{*.*js,Jenkinsfile}'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/mongo-utils": "*",
  24. "@overleaf/o-error": "*",
  25. "@overleaf/promise-utils": "*",
  26. "@overleaf/ranges-tracker": "*",
  27. "@overleaf/redis-wrapper": "*",
  28. "@overleaf/settings": "*",
  29. "@types/chai-as-promised": "^7.1.8",
  30. "async": "^3.2.5",
  31. "body-parser": "^1.20.3",
  32. "bunyan": "^1.8.15",
  33. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  34. "express": "^4.21.2",
  35. "lodash": "^4.17.21",
  36. "minimist": "^1.2.8",
  37. "mongodb-legacy": "6.1.3",
  38. "overleaf-editor-core": "*",
  39. "request": "^2.88.2",
  40. "requestretry": "^7.1.0"
  41. },
  42. "devDependencies": {
  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. "sandboxed-module": "^2.0.4",
  48. "sinon": "^9.2.4",
  49. "sinon-chai": "^3.7.0",
  50. "timekeeper": "^2.0.0",
  51. "typescript": "^5.0.4"
  52. }
  53. }