package.json 2.0 KB

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