package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  9. "test:unit": "npm 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 $@ test/acceptance/js",
  13. "test:unit:_run": "mocha --loader=esmock --recursive --exit $@ test/unit/js",
  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/redis-wrapper": "*",
  28. "@overleaf/settings": "*",
  29. "@overleaf/stream-utils": "*",
  30. "async": "^3.2.5",
  31. "body-parser": "^1.20.3",
  32. "bunyan": "^1.8.15",
  33. "celebrate": "^15.0.3",
  34. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  35. "esmock": "^2.6.3",
  36. "express": "^4.21.2",
  37. "lodash": "^4.17.20",
  38. "minimist": "^1.2.8",
  39. "mongodb-legacy": "6.1.3",
  40. "overleaf-editor-core": "*",
  41. "p-queue": "^8.1.0",
  42. "request": "^2.88.2"
  43. },
  44. "devDependencies": {
  45. "@overleaf/migrations": "*",
  46. "chai": "^4.3.6",
  47. "chai-as-promised": "^7.1.1",
  48. "mocha": "^11.1.0",
  49. "mocha-junit-reporter": "^2.2.1",
  50. "mocha-multi-reporters": "^1.5.1",
  51. "nock": "^13.5.3",
  52. "sinon": "~9.0.1",
  53. "sinon-chai": "^3.7.0",
  54. "timekeeper": "2.2.0",
  55. "typescript": "^5.0.4"
  56. }
  57. }