package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "@overleaf/track-changes",
  3. "description": "An API for saving and compressing individual document updates into a browsable history",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node $NODE_APP_OPTIONS app.js",
  8. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "nodemon --config nodemon.json",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix ."
  17. },
  18. "dependencies": {
  19. "@overleaf/logger": "*",
  20. "@overleaf/metrics": "*",
  21. "@overleaf/o-error": "*",
  22. "@overleaf/redis-wrapper": "*",
  23. "@overleaf/settings": "*",
  24. "async": "^3.2.2",
  25. "aws-sdk": "^2.643.0",
  26. "body-parser": "^1.19.0",
  27. "bson": "^1.1.5",
  28. "bunyan": "^1.8.15",
  29. "byline": "^5.0.0",
  30. "express": "4.17.1",
  31. "heap": "^0.2.6",
  32. "JSONStream": "^1.3.5",
  33. "line-reader": "^0.4.0",
  34. "lodash": "^4.17.21",
  35. "mongo-uri": "^0.1.2",
  36. "mongodb": "^3.6.0",
  37. "redis": "~0.10.1",
  38. "request": "~2.88.2",
  39. "requestretry": "^4.1.0",
  40. "s3-streams": "^0.4.0",
  41. "underscore": "~1.13.1",
  42. "yazl": "^2.5.1"
  43. },
  44. "devDependencies": {
  45. "chai": "^4.3.6",
  46. "chai-as-promised": "^7.1.1",
  47. "cli": "^1.0.1",
  48. "memorystream": "0.3.1",
  49. "mocha": "^8.4.0",
  50. "sandboxed-module": "~2.0.3",
  51. "sinon": "~9.0.1",
  52. "timekeeper": "2.2.0"
  53. }
  54. }