package.json 1.9 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": "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 --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  13. "test:unit:_run": "mocha --loader=esmock --recursive --reporter spec --exit $@ test/unit/js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/*.*js'",
  16. "format:fix": "prettier --write $PWD/'**/*.*js'",
  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. "aws-sdk": "^2.650.0",
  32. "body-parser": "^1.20.3",
  33. "bunyan": "^1.8.15",
  34. "celebrate": "^15.0.3",
  35. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  36. "esmock": "^2.6.3",
  37. "express": "^4.21.2",
  38. "lodash": "^4.17.20",
  39. "minimist": "^1.2.8",
  40. "mongodb-legacy": "6.1.3",
  41. "overleaf-editor-core": "*",
  42. "p-queue": "^8.1.0",
  43. "request": "^2.88.2"
  44. },
  45. "devDependencies": {
  46. "chai": "^4.3.6",
  47. "chai-as-promised": "^7.1.1",
  48. "mocha": "^11.1.0",
  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. }