-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"version": "1.0.2",
"license": "MIT",
"main": "dist/node/index.js",
"browser": "dist/web/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"homepage": "https://github.com/warrenday/graphql-mock-network",
"scripts": {
"build": "yarn build:node & yarn build:web & yarn build:types",
"build:node": "TARGET=node babel src -d dist/node --extensions \".ts\"",
"build:web": "TARGET=web babel src -d dist/web --extensions \".ts\"",
"build:types": "tsc --project tsconfig.json",
"test": "jest",
"lint": "tsc --project tsconfig.lint.json",
"prepare": "yarn build",
"clear": "jest --clearCache"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "graphql-mock-network",
"author": "warren",
"size-limit": [
{
"path": "dist/graphql-mock-network.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/graphql-mock-network.esm.js",
"limit": "10 KB"
}
],
"browserslist": "> 0.25%, not dead",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@size-limit/preset-small-lib": "^4.6.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.0",
"axios": "^0.20.0",
"babel-jest": "^26.6.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"core-js": "3",
"graphql-scalars": "^1.4.0",
"graphql-tag": "^2.11.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"regenerator-runtime": "^0.13.7",
"size-limit": "^4.6.0",
"tslib": "^2.3.1",
"typescript": "^4.0.3"
},
"dependencies": {
"@graphql-tools/mock": "^8.5.1",
"@graphql-tools/schema": "^8.2.0",
"graphql": "^15.5.3",
"msw": "^0.29.0"
}
}