package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 $NODE_APP_OPTIONS 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": "nodemon --config nodemon.json",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix ."
  17. },
  18. "dependencies": {
  19. "@overleaf/logger": "*",
  20. "@overleaf/metrics": "*",
  21. "@overleaf/o-error": "*",
  22. "@overleaf/ranges-tracker": "*",
  23. "@overleaf/redis-wrapper": "*",
  24. "@overleaf/settings": "*",
  25. "async": "^3.2.2",
  26. "body-parser": "^1.19.0",
  27. "bunyan": "^1.8.15",
  28. "diff-match-patch": "https://github.com/overleaf/diff-match-patch/archive/89805f9c671a77a263fc53461acd62aa7498f688.tar.gz",
  29. "express": "4.17.1",
  30. "lodash": "^4.17.21",
  31. "mongodb": "^4.11.0",
  32. "request": "^2.88.2",
  33. "requestretry": "^4.1.2"
  34. },
  35. "devDependencies": {
  36. "chai": "^4.3.6",
  37. "chai-as-promised": "^7.1.1",
  38. "cluster-key-slot": "^1.0.5",
  39. "mocha": "^8.4.0",
  40. "sandboxed-module": "^2.0.4",
  41. "sinon": "^9.2.4",
  42. "timekeeper": "^2.0.0"
  43. }
  44. }