package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 test:unit",
  8. "test:unit": "mocha",
  9. "lint": "eslint --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --fix .",
  11. "format": "prettier --list-different $PWD/'**/*.js'",
  12. "format:fix": "prettier --write $PWD/'**/*.js'",
  13. "test:ci": "npm run test:unit"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "github.com:overleaf/object-persistor"
  18. },
  19. "author": "Overleaf (https://www.overleaf.com/)",
  20. "license": "AGPL-3.0",
  21. "peerDependencies": {
  22. "@overleaf/logger": "*"
  23. },
  24. "dependencies": {
  25. "@google-cloud/storage": "^6.9.0",
  26. "@overleaf/o-error": "*",
  27. "aws-sdk": "^2.718.0",
  28. "fast-crc32c": "https://github.com/overleaf/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
  29. "glob": "^7.1.6",
  30. "range-parser": "^1.2.1",
  31. "tiny-async-pool": "^1.1.0"
  32. },
  33. "devDependencies": {
  34. "@overleaf/logger": "*",
  35. "chai": "^4.3.6",
  36. "chai-as-promised": "^7.1.1",
  37. "mocha": "^10.2.0",
  38. "mock-fs": "^5.2.0",
  39. "mongodb": "^3.5.9",
  40. "sandboxed-module": "^2.0.4",
  41. "sinon": "^9.2.4",
  42. "sinon-chai": "^3.7.0"
  43. }
  44. }