package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "@overleaf/docstore",
  3. "description": "A CRUD API for handling text documents in projects",
  4. "private": true,
  5. "type": "module",
  6. "main": "app.js",
  7. "scripts": {
  8. "start": "node app.js",
  9. "test:acceptance:_run": "mocha --recursive --timeout 15000 --exit --retries=$RETRIES $@ test/acceptance/js",
  10. "test:acceptance": "yarn run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
  12. "test:unit": "yarn run test:unit:_run",
  13. "nodemon": "node --watch app.js",
  14. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/fetch-utils": "workspace:*",
  20. "@overleaf/logger": "workspace:*",
  21. "@overleaf/metrics": "workspace:*",
  22. "@overleaf/mongo-utils": "workspace:*",
  23. "@overleaf/o-error": "workspace:*",
  24. "@overleaf/object-persistor": "workspace:*",
  25. "@overleaf/promise-utils": "workspace:*",
  26. "@overleaf/settings": "workspace:*",
  27. "@overleaf/stream-utils": "^0.1.0",
  28. "@overleaf/validation-tools": "workspace:*",
  29. "async": "^3.2.5",
  30. "body-parser": "1.20.4",
  31. "bunyan": "^1.8.15",
  32. "express": "4.22.1",
  33. "lodash": "^4.18.1",
  34. "mongodb-legacy": "6.1.3",
  35. "p-map": "^4.0.0"
  36. },
  37. "devDependencies": {
  38. "@google-cloud/storage": "^7.19.0",
  39. "@overleaf/migrations": "workspace:*",
  40. "chai": "^4.3.6",
  41. "chai-as-promised": "^7.1.1",
  42. "mocha": "^11.1.0",
  43. "mocha-junit-reporter": "^2.2.1",
  44. "mocha-multi-reporters": "^1.5.1",
  45. "sinon": "~9.0.2",
  46. "sinon-chai": "^3.7.0",
  47. "typescript": "^5.0.4",
  48. "vitest": "4.1.5"
  49. }
  50. }