UNPKG

2.63 kBJSONView Raw
1{
2 "name": "fetch-mock",
3 "type": "module",
4 "version": "9.4.0",
5 "description": "Mock http requests made using fetch (or isomorphic-fetch)",
6 "main": "./cjs/server.js",
7 "browser": "./esm/client.js",
8 "module": "./esm/server.js",
9 "types": "./types/index.d.ts",
10 "scripts": {
11 "test": "make lint test",
12 "prepublishOnly": "make build"
13 },
14 "funding": {
15 "type": "charity",
16 "url": "https://www.justgiving.com/refugee-support-europe"
17 },
18 "babel": {
19 "presets": [
20 [
21 "env",
22 {
23 "useBuiltIns": "entry"
24 }
25 ]
26 ],
27 "plugins": [
28 [
29 "transform-runtime",
30 {
31 "polyfill": true
32 }
33 ]
34 ]
35 },
36 "repository": {
37 "type": "git",
38 "url": "https://github.com/wheresrhys/fetch-mock.git"
39 },
40 "keywords": [
41 "fetch",
42 "http",
43 "mock",
44 "testing",
45 "spy",
46 "xhr",
47 "ajax"
48 ],
49 "author": "Rhys Evans",
50 "license": "MIT",
51 "bugs": {
52 "url": "https://github.com/wheresrhys/fetch-mock/issues"
53 },
54 "homepage": "http://www.wheresrhys.co.uk/fetch-mock",
55 "dependencies": {
56 "babel-runtime": "^6.26.0",
57 "core-js": "^3.0.0",
58 "debug": "^4.1.1",
59 "glob-to-regexp": "^0.4.0",
60 "is-subset": "^0.1.1",
61 "lodash.isequal": "^4.5.0",
62 "path-to-regexp": "^2.2.1",
63 "querystring": "^0.2.0",
64 "whatwg-url": "^6.5.0"
65 },
66 "peerDependencies": {
67 "node-fetch": "*"
68 },
69 "peerDependenciesMeta": {
70 "node-fetch": {
71 "optional": true
72 }
73 },
74 "engines": {
75 "node": ">=4.0.0"
76 },
77 "devDependencies": {
78 "abort-controller": "^3.0.0",
79 "babel-cli": "^6.1.2",
80 "babel-loader": "^7.1.2",
81 "babel-plugin-transform-runtime": "^6.23.0",
82 "babel-preset-env": "^1.7.0",
83 "bluebird": "^3.4.6",
84 "chai": "^4.1.2",
85 "coveralls": "^3.0.0",
86 "dtslint": "^1.0.2",
87 "eslint": "^4.14.0",
88 "eslint-config-origami-component": "1.0.0",
89 "eslint-config-prettier": "^2.9.0",
90 "eslint-plugin-prettier": "^2.6.1",
91 "karma": "^3.1.4",
92 "karma-chai": "^0.1.0",
93 "karma-chrome-launcher": "^2.2.0",
94 "karma-mocha": "^1.3.0",
95 "karma-mocha-reporter": "^2.2.5",
96 "karma-webpack": "^3.0.0",
97 "mocha": "^5.1.1",
98 "node-fetch": "^2.0.0",
99 "nyc": "^11.7.3",
100 "prettier": "^1.13.7",
101 "rollup": "^1.25.2",
102 "rollup-plugin-commonjs": "^10.1.0",
103 "rollup-plugin-json": "^4.0.0",
104 "rollup-plugin-node-builtins": "^2.1.2",
105 "rollup-plugin-node-globals": "^1.4.0",
106 "rollup-plugin-node-resolve": "^5.2.0",
107 "sinon": "^4.5.0",
108 "sinon-chai": "^2.14.0",
109 "typescript": "^3.6.4",
110 "webpack": "^4.41.2"
111 }
112}