package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 $NODE_APP_OPTIONS app.js",
  11. "nodemon": "node --watch $NODE_APP_OPTIONS 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. },
  19. "dependencies": {
  20. "@overleaf/fetch-utils": "*",
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/o-error": "*",
  24. "@overleaf/redis-wrapper": "*",
  25. "@overleaf/settings": "*",
  26. "async": "^3.2.2",
  27. "aws-sdk": "^2.650.0",
  28. "bluebird": "^3.7.2",
  29. "body-parser": "^1.19.0",
  30. "bunyan": "^1.8.15",
  31. "byline": "^4.2.1",
  32. "celebrate": "^10.1.0",
  33. "cli": "^1.0.1",
  34. "diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
  35. "esmock": "^2.1.0",
  36. "express": "^4.18.2",
  37. "heap": "^0.2.6",
  38. "line-reader": "^0.2.4",
  39. "lodash": "^4.17.20",
  40. "mongo-uri": "^0.1.2",
  41. "mongodb": "^4.11.0",
  42. "overleaf-editor-core": "*",
  43. "redis": "~0.10.1",
  44. "request": "^2.88.2",
  45. "requestretry": "^7.1.0"
  46. },
  47. "devDependencies": {
  48. "chai": "^4.3.6",
  49. "chai-as-promised": "^7.1.1",
  50. "mocha": "^10.2.0",
  51. "nock": "^12.0.3",
  52. "sinon": "~9.0.1",
  53. "sinon-chai": "^3.7.0",
  54. "timekeeper": "2.2.0"
  55. }
  56. }