package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "document-updater-sharelatex",
  3. "version": "0.1.4",
  4. "description": "An API for applying incoming updates to documents in real-time",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/document-updater-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.3.1",
  25. "@overleaf/redis-wrapper": "^2.0.1",
  26. "@overleaf/settings": "^2.1.1",
  27. "async": "^2.5.0",
  28. "body-parser": "^1.19.0",
  29. "bunyan": "^1.8.15",
  30. "diff-match-patch": "https://github.com/overleaf/diff-match-patch/archive/89805f9c671a77a263fc53461acd62aa7498f688.tar.gz",
  31. "express": "4.17.1",
  32. "lodash": "^4.17.21",
  33. "mongodb": "^3.6.6",
  34. "request": "^2.88.2",
  35. "requestretry": "^4.1.2"
  36. },
  37. "devDependencies": {
  38. "chai": "^4.2.0",
  39. "chai-as-promised": "^7.1.1",
  40. "cluster-key-slot": "^1.0.5",
  41. "mocha": "^8.3.2",
  42. "sandboxed-module": "^2.0.4",
  43. "sinon": "^9.0.2",
  44. "timekeeper": "^2.0.0"
  45. }
  46. }