mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 09:01:36 +00:00
3ee794da47
Atomic update of files in FS backend of object-persistor GitOrigin-RevId: b57c0c1a7d6299affd00e174cb7ae75ae711c5d3
44 lines
1.3 KiB
JSON
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"
|
|
}
|
|
}
|