package.json 1.7 KB

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