package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. "scripts": {
  7. "test": "npm run lint && npm run types:check && npm run test:unit",
  8. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  9. "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  11. "test:ci": "npm run test:unit",
  12. "types:check": "tsc --noEmit"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "github.com:overleaf/object-persistor"
  17. },
  18. "author": "Overleaf (https://www.overleaf.com/)",
  19. "license": "AGPL-3.0",
  20. "dependencies": {
  21. "@aws-sdk/client-s3": "^3.864.0",
  22. "@aws-sdk/lib-storage": "^3.864.0",
  23. "@aws-sdk/node-http-handler": "^3.370.0",
  24. "@aws-sdk/s3-request-presigner": "^3.864.0",
  25. "@google-cloud/storage": "^7.18.0",
  26. "@overleaf/logger": "*",
  27. "@overleaf/metrics": "*",
  28. "@overleaf/o-error": "*",
  29. "@overleaf/stream-utils": "*",
  30. "fast-crc32c": "overleaf/node-fast-crc32c#aae6b2a4c7a7a159395df9cc6c38dfde702d6f51",
  31. "glob": "^12.0.0",
  32. "range-parser": "^1.2.1",
  33. "tiny-async-pool": "^1.1.0"
  34. },
  35. "devDependencies": {
  36. "chai": "^4.3.6",
  37. "chai-as-promised": "^7.1.1",
  38. "mocha": "^11.1.0",
  39. "mocha-junit-reporter": "^2.2.1",
  40. "mocha-multi-reporters": "^1.5.1",
  41. "mock-fs": "^5.2.0",
  42. "mongodb": "6.12.0",
  43. "sandboxed-module": "^2.0.4",
  44. "sinon": "^9.2.4",
  45. "sinon-chai": "^3.7.0",
  46. "typescript": "^5.0.4"
  47. }
  48. }