package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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": "eslint --max-warnings 0 --format unix .",
  17. "format": "prettier --list-different $PWD/'**/*.js'",
  18. "format:fix": "prettier --write $PWD/'**/*.js'",
  19. "lint:fix": "eslint --fix ."
  20. },
  21. "dependencies": {
  22. "@overleaf/metrics": "^3.5.1",
  23. "@overleaf/o-error": "^3.3.1",
  24. "@overleaf/redis-wrapper": "^2.0.1",
  25. "@overleaf/settings": "^2.1.1",
  26. "async": "^2.5.0",
  27. "body-parser": "^1.19.0",
  28. "bunyan": "^1.8.15",
  29. "diff-match-patch": "https://github.com/overleaf/diff-match-patch/archive/89805f9c671a77a263fc53461acd62aa7498f688.tar.gz",
  30. "express": "4.17.1",
  31. "lodash": "^4.17.21",
  32. "logger-sharelatex": "^2.2.0",
  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. "eslint": "^7.21.0",
  42. "eslint-config-prettier": "^8.1.0",
  43. "eslint-config-standard": "^16.0.2",
  44. "eslint-plugin-chai-expect": "^2.2.0",
  45. "eslint-plugin-chai-friendly": "^0.6.0",
  46. "eslint-plugin-import": "^2.22.1",
  47. "eslint-plugin-mocha": "^8.0.0",
  48. "eslint-plugin-node": "^11.1.0",
  49. "eslint-plugin-prettier": "^3.1.2",
  50. "eslint-plugin-promise": "^4.2.1",
  51. "mocha": "^8.3.2",
  52. "prettier": "^2.2.1",
  53. "sandboxed-module": "^2.0.4",
  54. "sinon": "^9.0.2",
  55. "timekeeper": "^2.0.0"
  56. }
  57. }