package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 $@ test/acceptance/js",
  10. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
  12. "test:unit": "npm run test:unit:_run",
  13. "nodemon": "node --watch app.js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
  16. "format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/fetch-utils": "*",
  22. "@overleaf/logger": "*",
  23. "@overleaf/metrics": "*",
  24. "@overleaf/mongo-utils": "*",
  25. "@overleaf/o-error": "*",
  26. "@overleaf/object-persistor": "*",
  27. "@overleaf/promise-utils": "*",
  28. "@overleaf/settings": "*",
  29. "@overleaf/stream-utils": "^0.1.0",
  30. "async": "^3.2.5",
  31. "body-parser": "1.20.4",
  32. "bunyan": "^1.8.15",
  33. "celebrate": "^15.0.3",
  34. "express": "4.22.1",
  35. "lodash": "^4.17.21",
  36. "mongodb-legacy": "6.1.3",
  37. "p-map": "^4.0.0"
  38. },
  39. "devDependencies": {
  40. "@google-cloud/storage": "^6.10.1",
  41. "@overleaf/migrations": "*",
  42. "chai": "^4.3.6",
  43. "chai-as-promised": "^7.1.1",
  44. "mocha": "^11.1.0",
  45. "mocha-junit-reporter": "^2.2.1",
  46. "mocha-multi-reporters": "^1.5.1",
  47. "sandboxed-module": "~2.0.4",
  48. "sinon": "~9.0.2",
  49. "sinon-chai": "^3.7.0",
  50. "typescript": "^5.0.4",
  51. "vitest": "^4.0.0"
  52. }
  53. }