package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "@overleaf/object-persistor",
  3. "version": "1.0.2",
  4. "description": "Module for storing objects in multiple backends, with fallback on 404 to assist migration between them",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./*": "./*"
  9. },
  10. "scripts": {
  11. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  12. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  13. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  14. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  15. "test:ci": "yarn run test:unit",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "github.com:overleaf/object-persistor"
  21. },
  22. "author": "Overleaf (https://www.overleaf.com/)",
  23. "license": "AGPL-3.0",
  24. "dependencies": {
  25. "@aws-sdk/client-s3": "^3.994.0",
  26. "@aws-sdk/lib-storage": "^3.994.0",
  27. "@aws-sdk/node-http-handler": "^3.374.0",
  28. "@aws-sdk/s3-request-presigner": "^3.994.0",
  29. "@google-cloud/storage": "^7.19.0",
  30. "@overleaf/logger": "workspace:*",
  31. "@overleaf/metrics": "workspace:*",
  32. "@overleaf/o-error": "workspace:*",
  33. "@overleaf/stream-utils": "workspace:*",
  34. "fast-crc32c": "overleaf/node-fast-crc32c#aae6b2a4c7a7a159395df9cc6c38dfde702d6f51",
  35. "glob": "^12.0.0",
  36. "range-parser": "^1.2.1",
  37. "tiny-async-pool": "^1.1.0"
  38. },
  39. "devDependencies": {
  40. "@types/node": "^24.5.2",
  41. "chai": "^4.3.6",
  42. "chai-as-promised": "^7.1.1",
  43. "eslint": "^10.4.0",
  44. "mocha": "^11.1.0",
  45. "mocha-junit-reporter": "^2.2.1",
  46. "mocha-multi-reporters": "^1.5.1",
  47. "mongodb": "6.12.0",
  48. "sandboxed-module": "^2.0.4",
  49. "sinon": "^9.2.4",
  50. "sinon-chai": "^3.7.0",
  51. "typescript": "^5.0.4"
  52. }
  53. }