UNPKG

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