-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
116 lines (116 loc) · 3.54 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "graphql-react",
"version": "11.0.4",
"description": "A GraphQL client for React using modern context and hooks APIs that is lightweight (< 3 KB size limited) but powerful; the first Relay and Apollo alternative with server side rendering.",
"license": "MIT",
"author": {
"name": "Jayden Seric",
"email": "me@jaydenseric.com",
"url": "https://jaydenseric.com"
},
"repository": "github:jaydenseric/graphql-react",
"homepage": "https://github.com/jaydenseric/graphql-react#readme",
"bugs": "https://github.com/jaydenseric/graphql-react/issues",
"funding": "https://github.com/sponsors/jaydenseric",
"keywords": [
"graphql",
"client",
"query",
"mutation",
"file",
"upload",
"multipart",
"react",
"hooks",
"ssr",
"esm",
"mjs"
],
"files": [
"universal",
"server"
],
"sideEffects": false,
"main": "universal",
"exports": {
".": {
"import": "./universal/index.mjs",
"require": "./universal/index.js"
},
"./universal": {
"import": "./universal/index.mjs",
"require": "./universal/index.js"
},
"./universal/": "./universal/",
"./universal/private/": {},
"./server": {
"import": "./server/index.mjs",
"require": "./server/index.js"
},
"./server/": "./server/",
"./package": "./package.json",
"./package.json": "./package.json"
},
"engines": {
"node": "^10.17.0 || ^12.0.0 || >= 13.7.0"
},
"browserslist": "Node 10.17 - 11 and Node < 11, Node 12 - 13 and Node < 13, Node >= 13.7, > 0.5%, not OperaMini all, not dead",
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"dependencies": {
"@babel/runtime": "^7.10.5",
"extract-files": "^9.0.0",
"fnv1a": "^1.0.1",
"mitt": "^2.1.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@size-limit/preset-small-lib": "^4.5.5",
"babel-eslint": "^10.1.0",
"eslint": "^7.5.0",
"eslint-config-env": "^15.0.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^30.0.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.4",
"eslint-plugin-react-hooks": "^4.0.8",
"fetch-blob": "^2.0.1",
"formdata-node": "^2.2.2",
"graphql": "^15.3.0",
"graphql-api-koa": "^6.0.0",
"hard-rejection": "^2.1.0",
"jsdoc-md": "^7.0.0",
"koa": "^2.13.0",
"koa-bodyparser": "^4.3.0",
"node-fetch": "^3.0.0-beta.7",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"revertable-globals": "^1.0.1",
"size-limit": "^4.5.5",
"test-director": "^4.0.1"
},
"scripts": {
"prepare": "npm run prepare:clean && npm run prepare:babel && npm run prepare:jsdoc && npm run prepare:prettier",
"prepare:clean": "rm -rf universal server test",
"prepare:babel": "babel src -d . --keep-file-extension",
"prepare:jsdoc": "jsdoc-md",
"prepare:prettier": "prettier --write universal server test readme.md",
"test": "npm run test:eslint && npm run test:prettier && npm run test:api && npm run test:size",
"test:eslint": "eslint --ext mjs,js .",
"test:prettier": "prettier -c .",
"test:api": "node -r hard-rejection/register test",
"test:size": "size-limit",
"prepublishOnly": "npm test"
}
}