package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "@overleaf/filestore",
  3. "description": "An API for CRUD operations on binary files stored in S3",
  4. "private": true,
  5. "main": "app.js",
  6. "type": "module",
  7. "scripts": {
  8. "test:acceptance:run": "mocha --recursive --timeout 15000 $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:run": "mocha --recursive $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run",
  12. "start": "node app.js",
  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. "test:acceptance:_run": "mocha --recursive --timeout 15000 --exit $@ test/acceptance/js",
  18. "test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
  19. "lint:fix": "eslint --fix .",
  20. "types:check": "tsc --noEmit"
  21. },
  22. "dependencies": {
  23. "@aws-sdk/client-s3": "^3.864.0",
  24. "@overleaf/logger": "*",
  25. "@overleaf/metrics": "*",
  26. "@overleaf/o-error": "*",
  27. "@overleaf/object-persistor": "*",
  28. "@overleaf/settings": "*",
  29. "@overleaf/stream-utils": "^0.1.0",
  30. "body-parser": "^1.20.3",
  31. "bunyan": "^1.8.15",
  32. "express": "^4.21.2",
  33. "glob": "^12.0.0",
  34. "lodash.once": "^4.1.1",
  35. "node-fetch": "^2.7.0",
  36. "range-parser": "^1.2.1",
  37. "tiny-async-pool": "^1.1.0"
  38. },
  39. "devDependencies": {
  40. "@google-cloud/storage": "^6.10.1",
  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. "mongodb": "6.12.0",
  47. "sandboxed-module": "2.0.4",
  48. "sinon": "9.0.2",
  49. "sinon-chai": "^3.7.0",
  50. "streamifier": "^0.1.1",
  51. "typescript": "^5.0.4",
  52. "vitest": "^3.2.4"
  53. }
  54. }