UNPKG

1.2 kBJSONView Raw
1{
2 "name": "fetch-mock",
3 "description": "Mock http requests made using fetch",
4 "version": "12.3.0",
5 "exports": {
6 "browser": "./dist/esm/index.js",
7 "import": {
8 "types": "./dist/esm/index.d.ts",
9 "default": "./dist/esm/index.js"
10 },
11 "require": {
12 "types": "./dist/cjs/index.d.ts",
13 "default": "./dist/cjs/index.js"
14 }
15 },
16 "main": "./dist/cjs/index.js",
17 "module": "./dist/esm/index.js",
18 "types": "./dist/esm/index.d.ts",
19 "type": "module",
20 "engines": {
21 "node": ">=18.11.0"
22 },
23 "dependencies": {
24 "@types/glob-to-regexp": "^0.4.4",
25 "dequal": "^2.0.3",
26 "glob-to-regexp": "^0.4.1",
27 "is-subset-of": "^3.1.10",
28 "regexparam": "^3.0.0"
29 },
30 "repository": {
31 "directory": "packages/fetch-mock",
32 "type": "git",
33 "url": "git+https://github.com/wheresrhys/fetch-mock.git"
34 },
35 "scripts": {
36 "build": "rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node ../../scripts/declare-dist-type.js"
37 },
38 "license": "MIT",
39 "author": "Rhys Evans",
40 "bugs": {
41 "url": "https://github.com/wheresrhys/fetch-mock/issues"
42 },
43 "homepage": "http://www.wheresrhys.co.uk/fetch-mock",
44 "keywords": [
45 "fetch",
46 "http",
47 "mock",
48 "testing",
49 "spy",
50 "stub"
51 ]
52}