package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": "^3.1.0",
  20. "@overleaf/metrics": "^4.0.0",
  21. "@overleaf/o-error": "^3.4.0",
  22. "@overleaf/redis-wrapper": "^2.0.0",
  23. "@overleaf/settings": "^3.0.0",
  24. "async": "^2.6.3",
  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. "mongo-uri": "^0.1.2",
  35. "mongodb": "^3.6.0",
  36. "redis": "~0.10.1",
  37. "request": "~2.88.2",
  38. "requestretry": "^4.1.0",
  39. "s3-streams": "^0.4.0",
  40. "underscore": "~1.13.1",
  41. "yazl": "^2.5.1"
  42. },
  43. "devDependencies": {
  44. "chai": "^4.3.6",
  45. "chai-as-promised": "^7.1.1",
  46. "cli": "^1.0.1",
  47. "memorystream": "0.3.1",
  48. "mocha": "^8.4.0",
  49. "sandboxed-module": "~2.0.3",
  50. "sinon": "~9.0.1",
  51. "timekeeper": "2.2.0"
  52. }
  53. }