mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:25:28 -05:00
6c2cf20125
Reapply "Upgrade node-fetch to 2.7.0", Fix fetch-utils tests GitOrigin-RevId: b42a2d2c50ce73f474e39755845e4df065f30b48
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"name": "@overleaf/fetch-utils",
|
|
"version": "0.1.0",
|
|
"description": "utilities for node-fetch",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
|
"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}'",
|
|
"test:ci": "npm run test:unit",
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
"types:check": "tsc --noEmit"
|
|
},
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
"license": "AGPL-3.0-only",
|
|
"devDependencies": {
|
|
"@types/node-fetch": "^2.6.11",
|
|
"body-parser": "^1.20.3",
|
|
"chai": "^4.3.6",
|
|
"chai-as-promised": "^7.1.1",
|
|
"express": "^4.21.0",
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"dependencies": {
|
|
"@overleaf/o-error": "*",
|
|
"lodash": "^4.17.21",
|
|
"node-fetch": "^2.7.0",
|
|
"selfsigned": "^2.4.1"
|
|
}
|
|
}
|