package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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": "yarn run lint && yarn run types:check && yarn 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": "yarn 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.994.0",
  22. "@aws-sdk/lib-storage": "^3.994.0",
  23. "@aws-sdk/node-http-handler": "^3.374.0",
  24. "@aws-sdk/s3-request-presigner": "^3.994.0",
  25. "@google-cloud/storage": "^7.19.0",
  26. "@overleaf/logger": "workspace:*",
  27. "@overleaf/metrics": "workspace:*",
  28. "@overleaf/o-error": "workspace:*",
  29. "@overleaf/stream-utils": "workspace:*",
  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. "mongodb": "6.12.0",
  42. "sandboxed-module": "^2.0.4",
  43. "sinon": "^9.2.4",
  44. "sinon-chai": "^3.7.0",
  45. "typescript": "^5.0.4"
  46. }
  47. }