@timwheeler/monkey-fetch
Version:
Monkey-patch library for the native fetch API
56 lines (55 loc) • 1.08 kB
JSON
{
"name": "@timwheeler/monkey-fetch",
"version": "1.5.0",
"description": "Monkey-patch library for the native fetch API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"start": "node dist/index.js",
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.json",
"test": "jest"
},
"keywords": [
"fetch",
"request",
"intercept",
"interceptor",
"hooks",
"monkeypatch",
"monkey-patch",
"monkey-fetch",
"monkeyfetch",
"http"
],
"author": "",
"license": "ISC",
"dependencies": {
"node-fetch": "2.6.7",
"whatwg-fetch": "3.6.2"
},
"devDependencies": {
"@types/jest": "27.5.0",
"@types/node": "18.7.8",
"jest": "28.0.0",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"ts-jest": "28.0.0",
"typescript": "4.7.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src/",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
}
}
}