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 format && npm run types:check && npm run test:unit",
  8. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  9. "lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
  11. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  12. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  13. "test:ci": "npm run test:unit",
  14. "types:check": "tsc --noEmit"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "github.com:overleaf/object-persistor"
  19. },
  20. "author": "Overleaf (https://www.overleaf.com/)",
  21. "license": "AGPL-3.0",
  22. "dependencies": {
  23. "@aws-sdk/client-s3": "^3.864.0",
  24. "@aws-sdk/lib-storage": "^3.864.0",
  25. "@aws-sdk/node-http-handler": "^3.370.0",
  26. "@aws-sdk/s3-request-presigner": "^3.864.0",
  27. "@google-cloud/storage": "^6.10.1",
  28. "@overleaf/logger": "*",
  29. "@overleaf/metrics": "*",
  30. "@overleaf/o-error": "*",
  31. "@overleaf/stream-utils": "*",
  32. "fast-crc32c": "overleaf/node-fast-crc32c#aae6b2a4c7a7a159395df9cc6c38dfde702d6f51",
  33. "glob": "^7.1.6",
  34. "range-parser": "^1.2.1",
  35. "tiny-async-pool": "^1.1.0"
  36. },
  37. "devDependencies": {
  38. "chai": "^4.3.6",
  39. "chai-as-promised": "^7.1.1",
  40. "mocha": "^11.1.0",
  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. }