forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
183 lines (183 loc) · 6.52 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "@apollo/client",
"version": "3.8.6",
"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",
"extract-api": "ts-node-script config/apiExtractor.ts",
"clean": "rimraf dist coverage lib temp",
"check:format": "prettier --check .",
"ci:precheck": "node config/precheck.js",
"format": "prettier --write .",
"lint": "eslint 'src/**/*.{[jt]s,[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.3",
"@wry/equality": "^0.5.6",
"@wry/trie": "^0.4.3",
"graphql-tag": "^2.12.6",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.17.5",
"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": {
"@arethetypeswrong/cli": "0.12.2",
"@babel/parser": "7.23.0",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@graphql-tools/schema": "10.0.0",
"@microsoft/api-extractor": "7.38.0",
"@rollup/plugin-node-resolve": "11.2.1",
"@size-limit/esbuild-why": "8.2.6",
"@size-limit/preset-small-lib": "8.2.6",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "14.0.0",
"@testing-library/react-12": "npm:@testing-library/react@^12",
"@testing-library/user-event": "14.5.1",
"@tsconfig/node20": "20.1.2",
"@types/bytes": "3.1.2",
"@types/fetch-mock": "7.3.6",
"@types/glob": "8.1.0",
"@types/hoist-non-react-statics": "3.3.3",
"@types/jest": "29.5.5",
"@types/lodash": "4.14.199",
"@types/node": "20.8.6",
"@types/node-fetch": "2.6.6",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/use-sync-external-store": "0.0.4",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"@typescript-eslint/rule-tester": "6.7.5",
"@typescript-eslint/types": "6.7.5",
"@typescript-eslint/utils": "6.7.5",
"acorn": "8.10.0",
"blob-polyfill": "7.0.20220408",
"bytes": "3.1.2",
"cross-fetch": "3.1.8",
"eslint": "8.51.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "npm:@phryneas/[email protected]",
"eslint-plugin-local-rules": "2.0.0",
"eslint-plugin-testing-library": "5.11.1",
"expect-type": "0.17.3",
"fetch-mock": "9.11.0",
"glob": "8.1.0",
"graphql": "16.8.1",
"graphql-ws": "5.14.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"lodash": "4.17.21",
"patch-package": "7.0.2",
"prettier": "3.0.3",
"react": "18.2.0",
"react-17": "npm:react@^17",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@^17",
"react-error-boundary": "3.1.4",
"recast": "0.23.4",
"resolve": "1.22.8",
"rimraf": "5.0.5",
"rollup": "2.79.1",
"rollup-plugin-terser": "7.0.2",
"rxjs": "7.8.1",
"size-limit": "8.2.6",
"subscriptions-transport-ws": "0.11.0",
"terser": "5.21.0",
"ts-api-utils": "1.0.3",
"ts-jest": "29.1.1",
"ts-jest-resolver": "2.0.1",
"ts-node": "10.9.1",
"typedoc": "0.25.0",
"typescript": "5.2.2",
"wait-for-observables": "1.0.3",
"web-streams-polyfill": "3.2.1",
"whatwg-fetch": "3.6.19"
},
"publishConfig": {
"access": "public"
}
}