overleaf/libraries/object-persistor/package.json
Eric Mc Sween 3ee794da47 Merge pull request #10259 from overleaf/em-object-persistor-tempfile
Atomic update of files in FS backend of object-persistor

GitOrigin-RevId: b57c0c1a7d6299affd00e174cb7ae75ae711c5d3
2022-11-11 09:03:35 +00:00

44 lines
1.3 KiB
JSON

{
"name": "@overleaf/object-persistor",
"version": "1.0.2",
"description": "Module for storing objects in multiple backends, with fallback on 404 to assist migration between them",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run format && npm run test:unit",
"test:unit": "mocha",
"lint": "eslint --max-warnings 0 --format unix .",
"lint:fix": "eslint --fix .",
"format": "prettier --list-different $PWD/'**/*.js'",
"format:fix": "prettier --write $PWD/'**/*.js'",
"test:ci": "npm run test:unit"
},
"repository": {
"type": "git",
"url": "github.com:overleaf/object-persistor"
},
"author": "Overleaf (https://www.overleaf.com/)",
"license": "AGPL-3.0",
"peerDependencies": {
"@overleaf/logger": "*"
},
"dependencies": {
"@google-cloud/storage": "~5.1.2",
"@overleaf/o-error": "*",
"aws-sdk": "^2.718.0",
"fast-crc32c": "https://github.com/overleaf/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"glob": "^7.1.6",
"range-parser": "^1.2.1",
"tiny-async-pool": "^1.1.0"
},
"devDependencies": {
"@overleaf/logger": "*",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^8.4.0",
"mock-fs": "^5.2.0",
"mongodb": "^3.5.9",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0"
}
}