1 | {
|
2 | "name": "jest-fetch-mock",
|
3 | "version": "3.0.3",
|
4 | "description": "fetch mock for jest",
|
5 | "main": "src/index.js",
|
6 | "types": "types",
|
7 | "scripts": {
|
8 | "test": "jest && yarn tsc && yarn dtslint",
|
9 | "dtslint": "dtslint types",
|
10 | "tsc": "tsc"
|
11 | },
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "git+https://github.com/jefflau/jest-fetch-mock.git"
|
15 | },
|
16 | "keywords": [
|
17 | "jest",
|
18 | "mock",
|
19 | "fetch"
|
20 | ],
|
21 | "author": "Jeff Lau <jeff-lau@live.com> (http://jefflau.net/)",
|
22 | "license": "MIT",
|
23 | "bugs": {
|
24 | "url": "https://github.com/jefflau/jest-fetch-mock/issues"
|
25 | },
|
26 | "homepage": "https://github.com/jefflau/jest-fetch-mock#readme",
|
27 | "dependencies": {
|
28 | "cross-fetch": "^3.0.4",
|
29 | "promise-polyfill": "^8.1.3"
|
30 | },
|
31 | "devDependencies": {
|
32 | "@types/jest": "^23.3.14",
|
33 | "@types/node": "^10.17.8",
|
34 | "dtslint": "^2.0.2",
|
35 | "jest": "^23.6.0",
|
36 | "prettier": "^1.19.1",
|
37 | "regenerator-runtime": "^0.13.3",
|
38 | "typescript": "^3.7.3"
|
39 | },
|
40 | "prettier": {
|
41 | "semi": false,
|
42 | "editor.formatOnSave": true,
|
43 | "singleQuote": true,
|
44 | "overrides": [
|
45 | {
|
46 | "files": "**/*.ts",
|
47 | "options": {
|
48 | "semi": true,
|
49 | "tabWidth": 4,
|
50 | "singleQuote": false,
|
51 | "printWidth": 120
|
52 | }
|
53 | }
|
54 | ]
|
55 | },
|
56 | "jest": {
|
57 | "automock": false,
|
58 | "testPathIgnorePatterns": [
|
59 | "types"
|
60 | ],
|
61 | "setupFiles": [
|
62 | "./setupJest.js"
|
63 | ]
|
64 | }
|
65 | }
|