package.json 1.9 KB

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