2020-07-02 09:19:45 -04:00
|
|
|
{
|
|
|
|
"name": "@overleaf/object-persistor",
|
2021-09-27 11:44:04 -04:00
|
|
|
"version": "1.0.2",
|
2020-07-02 09:19:45 -04:00
|
|
|
"description": "Module for storing objects in multiple backends, with fallback on 404 to assist migration between them",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2024-01-16 14:24:03 -05:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 08:26:29 -05:00
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2024-09-09 05:23:59 -04:00
|
|
|
"lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
|
|
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
|
|
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
|
|
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
|
2024-01-11 08:26:29 -05:00
|
|
|
"test:ci": "npm run test:unit",
|
2024-05-06 07:57:39 -04:00
|
|
|
"types:check": "tsc --noEmit"
|
2020-07-02 09:19:45 -04:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "github.com:overleaf/object-persistor"
|
|
|
|
},
|
|
|
|
"author": "Overleaf (https://www.overleaf.com/)",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"dependencies": {
|
2024-07-08 12:38:43 -04:00
|
|
|
"@google-cloud/storage": "^6.10.1",
|
2024-09-23 07:09:32 -04:00
|
|
|
"@overleaf/logger": "*",
|
|
|
|
"@overleaf/metrics": "*",
|
2022-10-27 11:35:43 -04:00
|
|
|
"@overleaf/o-error": "*",
|
2020-07-23 05:33:01 -04:00
|
|
|
"aws-sdk": "^2.718.0",
|
2023-01-31 10:42:43 -05:00
|
|
|
"fast-crc32c": "overleaf/node-fast-crc32c#aae6b2a4c7a7a159395df9cc6c38dfde702d6f51",
|
2020-07-02 09:19:45 -04:00
|
|
|
"glob": "^7.1.6",
|
|
|
|
"range-parser": "^1.2.1",
|
2021-09-27 11:44:04 -04:00
|
|
|
"tiny-async-pool": "^1.1.0"
|
2020-07-02 09:19:45 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-07 06:46:51 -05:00
|
|
|
"chai": "^4.3.6",
|
2020-07-02 09:24:01 -04:00
|
|
|
"chai-as-promised": "^7.1.1",
|
2023-01-16 10:55:29 -05:00
|
|
|
"mocha": "^10.2.0",
|
2022-11-10 07:06:26 -05:00
|
|
|
"mock-fs": "^5.2.0",
|
2023-10-18 09:56:45 -04:00
|
|
|
"mongodb": "^6.1.0",
|
2020-07-02 09:19:45 -04:00
|
|
|
"sandboxed-module": "^2.0.4",
|
2022-02-07 06:46:51 -05:00
|
|
|
"sinon": "^9.2.4",
|
2024-01-11 08:26:29 -05:00
|
|
|
"sinon-chai": "^3.7.0",
|
|
|
|
"typescript": "^5.0.4"
|
2020-07-02 09:19:45 -04:00
|
|
|
}
|
|
|
|
}
|