fetch-mock
Version:
Mock http requests made using fetch
52 lines (51 loc) • 1.17 kB
JSON
{
"name": "fetch-mock",
"description": "Mock http requests made using fetch",
"version": "12.5.2",
"exports": {
"browser": "./dist/esm/index.js",
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"type": "module",
"engines": {
"node": ">=18.11.0"
},
"dependencies": {
"@types/glob-to-regexp": "^0.4.4",
"dequal": "^2.0.3",
"glob-to-regexp": "^0.4.1",
"regexparam": "^3.0.0"
},
"repository": {
"directory": "packages/fetch-mock",
"type": "git",
"url": "git+https://github.com/wheresrhys/fetch-mock.git"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node ../../scripts/declare-dist-type.js"
},
"license": "MIT",
"author": "Rhys Evans",
"bugs": {
"url": "https://github.com/wheresrhys/fetch-mock/issues"
},
"homepage": "http://www.wheresrhys.co.uk/fetch-mock",
"keywords": [
"fetch",
"http",
"mock",
"testing",
"spy",
"stub"
]
}