package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "@overleaf/project-history",
  3. "description": "An API for saving and compressing individual document updates into a browseable history",
  4. "private": true,
  5. "main": "app.js",
  6. "type": "module",
  7. "scripts": {
  8. "test:acceptance": "yarn run test:acceptance:_run -- --grep=$MOCHA_GREP",
  9. "test:unit": "yarn run test:unit:_run -- --grep=$MOCHA_GREP",
  10. "start": "node app.js",
  11. "nodemon": "node --watch app.js",
  12. "test:acceptance:_run": "mocha --loader=esmock --recursive --timeout 15000 --exit --retries=$RETRIES $@ test/acceptance/js",
  13. "test:unit:_run": "mocha --loader=esmock --recursive --exit $@ test/unit/js",
  14. "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/fetch-utils": "workspace:*",
  20. "@overleaf/logger": "workspace:*",
  21. "@overleaf/metrics": "workspace:*",
  22. "@overleaf/mongo-utils": "workspace:*",
  23. "@overleaf/o-error": "workspace:*",
  24. "@overleaf/promise-utils": "workspace:*",
  25. "@overleaf/redis-wrapper": "workspace:*",
  26. "@overleaf/settings": "workspace:*",
  27. "@overleaf/stream-utils": "workspace:*",
  28. "@overleaf/validation-tools": "workspace:*",
  29. "async": "^3.2.5",
  30. "body-parser": "1.20.4",
  31. "bunyan": "^1.8.15",
  32. "celebrate": "^15.0.3",
  33. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  34. "express": "4.22.1",
  35. "lodash": "^4.18.1",
  36. "minimist": "^1.2.8",
  37. "mongodb-legacy": "6.1.3",
  38. "overleaf-editor-core": "workspace:*",
  39. "p-queue": "^8.1.0"
  40. },
  41. "devDependencies": {
  42. "@overleaf/migrations": "workspace:*",
  43. "chai": "^4.3.6",
  44. "chai-as-promised": "^7.1.1",
  45. "esmock": "^2.7.3",
  46. "mocha": "^11.1.0",
  47. "mocha-junit-reporter": "^2.2.1",
  48. "mocha-multi-reporters": "^1.5.1",
  49. "nock": "^13.5.3",
  50. "sinon": "~9.0.1",
  51. "sinon-chai": "^3.7.0",
  52. "timekeeper": "2.2.0",
  53. "typescript": "^5.0.4"
  54. }
  55. }