package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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/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. "jumprope": "https://github.com/overleaf/jumprope/archive/b3ce482e83925a6c23278f3230a47a82bd440592.tar.gz",
  33. "lodash": "^4.17.21",
  34. "mongodb": "^3.6.6",
  35. "request": "^2.88.2",
  36. "requestretry": "^4.1.2"
  37. },
  38. "devDependencies": {
  39. "benchmark": "^2.1.4",
  40. "chai": "^4.2.0",
  41. "chai-as-promised": "^7.1.1",
  42. "cluster-key-slot": "^1.0.5",
  43. "eslint": "^7.21.0",
  44. "eslint-config-prettier": "^8.1.0",
  45. "eslint-config-standard": "^16.0.2",
  46. "eslint-plugin-chai-expect": "^2.2.0",
  47. "eslint-plugin-chai-friendly": "^0.6.0",
  48. "eslint-plugin-import": "^2.22.1",
  49. "eslint-plugin-mocha": "^8.0.0",
  50. "eslint-plugin-node": "^11.1.0",
  51. "eslint-plugin-prettier": "^3.1.2",
  52. "eslint-plugin-promise": "^4.2.1",
  53. "mocha": "^8.3.2",
  54. "prettier": "^2.2.1",
  55. "sandboxed-module": "^2.0.4",
  56. "sinon": "^9.0.2",
  57. "timekeeper": "^2.0.0"
  58. }
  59. }