2023-07-25 07:20:30 +00:00
|
|
|
{
|
|
|
|
"name": "@overleaf/fetch-utils",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "utilities for node-fetch",
|
|
|
|
"main": "index.js",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types": "types/index.d.ts",
|
2023-07-25 07:20:30 +00:00
|
|
|
"scripts": {
|
2024-01-16 19:24:03 +00:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 13:26:29 +00:00
|
|
|
"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",
|
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2024-01-23 19:53:37 +00:00
|
|
|
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2023-07-25 07:20:30 +00:00
|
|
|
},
|
|
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
|
|
"license": "AGPL-3.0-only",
|
|
|
|
"devDependencies": {
|
|
|
|
"body-parser": "^1.20.2",
|
|
|
|
"chai": "^4.3.6",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
|
|
|
"express": "^4.18.2",
|
2024-01-11 13:26:29 +00:00
|
|
|
"mocha": "^10.2.0",
|
|
|
|
"typescript": "^5.0.4"
|
2023-07-25 07:20:30 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@overleaf/o-error": "*",
|
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"node-fetch": "^2.6.11"
|
|
|
|
}
|
|
|
|
}
|