1 | {
|
2 | "name": "graphql-react",
|
3 | "version": "13.0.0",
|
4 | "description": "A GraphQL client for React using modern context and hooks APIs that’s lightweight (< 3.5 KB) but powerful; the first Relay and Apollo alternative with server side rendering.",
|
5 | "license": "MIT",
|
6 | "author": {
|
7 | "name": "Jayden Seric",
|
8 | "email": "me@jaydenseric.com",
|
9 | "url": "https://jaydenseric.com"
|
10 | },
|
11 | "repository": "github:jaydenseric/graphql-react",
|
12 | "homepage": "https://github.com/jaydenseric/graphql-react#readme",
|
13 | "bugs": "https://github.com/jaydenseric/graphql-react/issues",
|
14 | "funding": "https://github.com/sponsors/jaydenseric",
|
15 | "keywords": [
|
16 | "graphql",
|
17 | "client",
|
18 | "query",
|
19 | "mutation",
|
20 | "file",
|
21 | "upload",
|
22 | "multipart",
|
23 | "react",
|
24 | "hooks",
|
25 | "ssr",
|
26 | "esm",
|
27 | "mjs"
|
28 | ],
|
29 | "files": [
|
30 | "private",
|
31 | "public"
|
32 | ],
|
33 | "sideEffects": false,
|
34 | "main": "public",
|
35 | "exports": {
|
36 | ".": {
|
37 | "import": "./public/index.mjs",
|
38 | "require": "./public/index.js"
|
39 | },
|
40 | "./public/": "./public/",
|
41 | "./package": "./package.json",
|
42 | "./package.json": "./package.json"
|
43 | },
|
44 | "engines": {
|
45 | "node": "^12.0.0 || >= 13.7.0"
|
46 | },
|
47 | "browserslist": "Node 12 - 13 and Node < 13, Node >= 13.7, > 0.5%, not OperaMini all, not IE > 0, not dead",
|
48 | "peerDependencies": {
|
49 | "react": "16.14 - 17",
|
50 | "react-dom": "16.14 - 17"
|
51 | },
|
52 | "dependencies": {
|
53 | "extract-files": "^9.0.0",
|
54 | "isobject": "^4.0.0",
|
55 | "react-waterfall-render": "^1.0.0"
|
56 | },
|
57 | "devDependencies": {
|
58 | "@testing-library/react-hooks": "^5.1.1",
|
59 | "abort-controller": "^3.0.0",
|
60 | "coverage-node": "^4.0.0",
|
61 | "disposable-directory": "^3.0.0",
|
62 | "eslint": "^7.24.0",
|
63 | "eslint-config-env": "^19.0.0",
|
64 | "eslint-config-prettier": "^8.2.0",
|
65 | "eslint-plugin-compat": "^3.9.0",
|
66 | "eslint-plugin-import": "^2.22.1",
|
67 | "eslint-plugin-jsdoc": "^32.3.0",
|
68 | "eslint-plugin-node": "^11.1.0",
|
69 | "eslint-plugin-prettier": "^3.4.0",
|
70 | "eslint-plugin-react": "^7.23.2",
|
71 | "eslint-plugin-react-hooks": "^4.2.0",
|
72 | "event-target-shim": "^6.0.2",
|
73 | "filter-console": "^0.1.1",
|
74 | "formdata-node": "^3.1.1",
|
75 | "gzip-size": "^6.0.0",
|
76 | "jsdoc-md": "^9.1.1",
|
77 | "node-fetch": "^3.0.0-beta.9",
|
78 | "prettier": "^2.2.1",
|
79 | "react": "^17.0.2",
|
80 | "react-dom": "^17.0.2",
|
81 | "react-test-renderer": "^17.0.2",
|
82 | "revertable-globals": "^1.1.0",
|
83 | "test-director": "^5.0.0",
|
84 | "webpack": "^5.33.2"
|
85 | },
|
86 | "scripts": {
|
87 | "prepare": "npm run prepare:jsdoc && npm run prepare:prettier",
|
88 | "prepare:jsdoc": "jsdoc-md",
|
89 | "prepare:prettier": "prettier --write readme.md",
|
90 | "test": "npm run test:eslint && npm run test:prettier && npm run test:api",
|
91 | "test:eslint": "eslint --ext mjs,js .",
|
92 | "test:prettier": "prettier -c .",
|
93 | "test:api": "coverage-node test",
|
94 | "prepublishOnly": "npm test"
|
95 | }
|
96 | }
|