@fetch-mock/jest
Version:
jest wrapper for fetch-mock
54 lines (53 loc) • 1.15 kB
JSON
{
"name": "@fetch-mock/jest",
"description": "jest wrapper for fetch-mock",
"version": "0.2.15",
"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": {
"fetch-mock": "^12.5.2"
},
"peerDependencies": {
"jest": "*",
"@jest/globals": "*"
},
"repository": {
"directory": "packages/jest",
"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",
"jest"
]
}