package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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": "^3.1.0",
  20. "@overleaf/metrics": "^4.0.0",
  21. "@overleaf/o-error": "^3.4.0",
  22. "@overleaf/redis-wrapper": "^2.0.1",
  23. "@overleaf/settings": "^3.0.0",
  24. "async": "^2.5.0",
  25. "body-parser": "^1.19.0",
  26. "bunyan": "^1.8.15",
  27. "diff-match-patch": "https://github.com/overleaf/diff-match-patch/archive/89805f9c671a77a263fc53461acd62aa7498f688.tar.gz",
  28. "express": "4.17.1",
  29. "lodash": "^4.17.21",
  30. "mongodb": "^3.6.6",
  31. "request": "^2.88.2",
  32. "requestretry": "^4.1.2"
  33. },
  34. "devDependencies": {
  35. "chai": "^4.3.6",
  36. "chai-as-promised": "^7.1.1",
  37. "cluster-key-slot": "^1.0.5",
  38. "mocha": "^8.4.0",
  39. "sandboxed-module": "^2.0.4",
  40. "sinon": "^9.2.4",
  41. "timekeeper": "^2.0.0"
  42. }
  43. }