package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  13. "test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ 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/o-error": "*",
  25. "@overleaf/promise-utils": "*",
  26. "@overleaf/redis-wrapper": "*",
  27. "@overleaf/settings": "*",
  28. "async": "^3.2.5",
  29. "aws-sdk": "^2.650.0",
  30. "body-parser": "^1.20.3",
  31. "bunyan": "^1.8.15",
  32. "celebrate": "^15.0.3",
  33. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  34. "esmock": "^2.6.3",
  35. "express": "^4.21.0",
  36. "lodash": "^4.17.20",
  37. "minimist": "^1.2.8",
  38. "mongodb-legacy": "6.1.3",
  39. "overleaf-editor-core": "*",
  40. "request": "^2.88.2"
  41. },
  42. "devDependencies": {
  43. "chai": "^4.3.6",
  44. "chai-as-promised": "^7.1.1",
  45. "mocha": "^10.2.0",
  46. "nock": "^13.5.3",
  47. "sinon": "~9.0.1",
  48. "sinon-chai": "^3.7.0",
  49. "timekeeper": "2.2.0",
  50. "typescript": "^5.0.4"
  51. }
  52. }