forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 5.66 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "@apollo/client",
"version": "3.7.14",
"description": "A fully-featured caching GraphQL client.",
"private": true,
"keywords": [
"apollo",
"graphql",
"react",
"hooks",
"client",
"cache"
],
"author": "[email protected]",
"license": "MIT",
"main": "./dist/main.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"react-native": {
"./dist/cache/inmemory/fixPolyfills.js": "./dist/cache/inmemory/fixPolyfills.native.js",
"react-dom/server": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/apollographql/apollo-client.git"
},
"bugs": {
"url": "https://github.com/apollographql/apollo-client/issues"
},
"homepage": "https://www.apollographql.com/docs/react/",
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"postbuild": "npm run update-version && npm run invariants && npm run sourcemaps && npm run rollup && npm run prepdist && npm run postprocess-dist && npm run verify-version",
"postinstall": "patch-package",
"update-version": "node config/version.js update",
"verify-version": "node config/version.js verify",
"invariants": "ts-node-script config/processInvariants.ts",
"sourcemaps": "ts-node-script config/rewriteSourceMaps.ts",
"rollup": "rollup -c ./config/rollup.config.js",
"prepdist": "node ./config/prepareDist.js",
"prepdist:changesets": "ts-node-script config/prepareChangesetsRelease.ts",
"postprocess-dist": "ts-node-script config/postprocessDist.ts",
"clean": "rimraf dist coverage lib temp",
"ci:precheck": "node config/precheck.js",
"lint": "eslint '**/__tests__/**/*.[jt]sx'",
"test": "jest --config ./config/jest.config.js",
"test:debug": "node --inspect-brk node_modules/.bin/jest --config ./config/jest.config.js --runInBand --testTimeout 99999 --logHeapUsage",
"test:ci": "TEST_ENV=ci npm run test:coverage -- --logHeapUsage && npm run test:memory",
"test:watch": "jest --config ./config/jest.config.js --watch",
"test:memory": "npm i && npm run build && cd scripts/memory && npm i && npm test",
"test:coverage": "npm run coverage -- --ci --runInBand --reporters=default --reporters=jest-junit",
"coverage": "node --no-compilation-cache --expose-gc --max_old_space_size=4096 node_modules/.bin/jest --config ./config/jest.config.js --logHeapUsage --coverage --watchAll=false",
"bundlesize": "npm run build && ts-node-script ./config/bundlesize.ts",
"predeploy": "npm run build",
"deploy": "cd dist && npm publish --tag next",
"typedoc": "typedoc src/index.ts --json docs/public/docs.json",
"changeset-publish": "npm run build && npm run prepdist:changesets && cd dist && changeset publish",
"changeset-check": "changeset status --verbose --since=origin/main",
"changeset-version": "changeset version && npm i"
},
"engines": {
"npm": "^7.20.3 || ^8.0.0 || ^9.0.0"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
"graphql-ws": "^5.5.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"subscriptions-transport-ws": "^0.9.0 || ^0.11.0"
},
"peerDependenciesMeta": {
"graphql-ws": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"subscriptions-transport-ws": {
"optional": true
}
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.1.1",
"@wry/context": "^0.7.0",
"@wry/equality": "^0.5.0",
"@wry/trie": "^0.4.0",
"graphql-tag": "^2.12.6",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.16.2",
"prop-types": "^15.7.2",
"response-iterator": "^0.2.6",
"symbol-observable": "^4.0.0",
"ts-invariant": "^0.10.3",
"tslib": "^2.3.0",
"zen-observable-ts": "^1.2.5"
},
"devDependencies": {
"@babel/parser": "7.21.8",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.1",
"@graphql-tools/schema": "9.0.19",
"@rollup/plugin-node-resolve": "11.2.1",
"@testing-library/react": "14.0.0",
"@testing-library/react-12": "npm:@testing-library/react@^12",
"@testing-library/user-event": "14.4.3",
"@types/bytes": "3.1.1",
"@types/fetch-mock": "7.3.5",
"@types/glob": "8.1.0",
"@types/hoist-non-react-statics": "3.3.1",
"@types/jest": "29.5.1",
"@types/lodash": "4.14.194",
"@types/node": "20.1.0",
"@types/node-fetch": "2.6.3",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@types/use-sync-external-store": "0.0.3",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"acorn": "8.8.2",
"blob-polyfill": "7.0.20220408",
"bytes": "3.1.2",
"cross-fetch": "3.1.5",
"eslint": "8.40.0",
"eslint-plugin-testing-library": "5.10.3",
"fetch-mock": "9.11.0",
"glob": "8.1.0",
"graphql": "16.6.0",
"graphql-ws": "5.12.1",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest-junit": "16.0.0",
"lodash": "4.17.21",
"patch-package": "7.0.0",
"react": "18.2.0",
"react-17": "npm:react@^17",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@^17",
"recast": "0.22.0",
"resolve": "1.22.3",
"rimraf": "5.0.0",
"rollup": "2.79.1",
"rollup-plugin-terser": "7.0.2",
"rxjs": "7.8.1",
"subscriptions-transport-ws": "0.11.0",
"terser": "5.17.1",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typedoc": "0.22.18",
"typescript": "5.0.4",
"wait-for-observables": "1.0.3",
"web-streams-polyfill": "3.2.1",
"whatwg-fetch": "3.6.2"
},
"publishConfig": {
"access": "public"
}
}