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",
|
2024-01-16 14:24:03 -05:00
|
|
|
"types": "types/index.d.ts",
|
2020-07-02 09:19:45 -04:00
|
|
|
"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}",
|
|
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
|
|
"test:ci": "npm run test:unit",
|
2024-01-16 14:24:03 -05:00
|
|
|
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
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",
|
2022-05-16 10:25:37 -04:00
|
|
|
"peerDependencies": {
|
|
|
|
"@overleaf/logger": "*"
|
|
|
|
},
|
2020-07-02 09:19:45 -04:00
|
|
|
"dependencies": {
|
2023-05-24 05:47:13 -04:00
|
|
|
"@google-cloud/storage": "^6.10.1",
|
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-05-16 10:25:37 -04:00
|
|
|
"@overleaf/logger": "*",
|
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
|
|
|
}
|
|
|
|
}
|