forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.78 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
{
"name": "@apollo/client",
"version": "3.1.3",
"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.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": [
"./dist/cache/inmemory/fixPolyfills.native.js"
],
"react-native": {
"./dist/cache/inmemory/fixPolyfills.js": "./dist/cache/inmemory/fixPolyfills.native.js"
},
"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",
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"postbuild": "npm run invariants && npm run rollup && npm run prepdist && npm run resolve",
"invariants": "ts-node-script config/processInvariants.ts",
"rollup": "rollup -c ./config/rollup.config.js",
"prepdist": "node ./config/prepareDist.js",
"resolve": "ts-node-script config/resolveModuleIds.ts",
"watch": "tsc-watch --onSuccess \"npm run postbuild\"",
"clean": "rimraf -r dist coverage lib",
"test": "jest --config ./config/jest.config.js",
"test:debug": "BABEL_ENV=server node --inspect-brk node_modules/.bin/jest --config ./config/jest.config.js --runInBand",
"test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"test:watch": "jest --config ./config/jest.config.js --watch",
"coverage": "jest --config ./config/jest.config.js --verbose --coverage",
"bundlesize": "npm run build && bundlesize",
"predeploy": "npm run build",
"deploy": "cd dist && npm publish"
},
"bundlesize": [
{
"name": "apollo-client",
"path": "./dist/apollo-client.cjs.min.js",
"maxSize": "24.5 kB"
}
],
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0",
"react": "^16.8.0",
"subscriptions-transport-ws": "^0.9.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"dependencies": {
"@types/zen-observable": "^0.8.0",
"@wry/context": "^0.5.2",
"@wry/equality": "^0.2.0",
"fast-json-stable-stringify": "^2.0.0",
"graphql-tag": "^2.11.0",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.12.1",
"prop-types": "^15.7.2",
"symbol-observable": "^1.2.0",
"terser": "^5.2.0",
"ts-invariant": "^0.4.4",
"tslib": "^1.10.0",
"zen-observable": "^0.8.14"
},
"devDependencies": {
"@babel/parser": "7.11.3",
"@rollup/plugin-node-resolve": "9.0.0",
"@testing-library/react": "9.4.1",
"@types/fast-json-stable-stringify": "2.0.0",
"@types/fetch-mock": "^7.3.2",
"@types/glob": "7.1.3",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "26.0.10",
"@types/lodash": "4.14.159",
"@types/node": "14.0.27",
"@types/react": "^16.9.32",
"@types/react-dom": "^16.9.6",
"@types/recompose": "^0.30.7",
"bundlesize": "0.18.0",
"cross-fetch": "3.0.5",
"fetch-mock": "7.7.3",
"glob": "7.1.6",
"graphql": "15.3.0",
"graphql-tools": "^6.0.12",
"jest": "26.4.2",
"jest-junit": "11.1.0",
"lodash": "4.17.20",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"recast": "0.19.1",
"recompose": "^0.30.0",
"resolve": "^1.17.0",
"rimraf": "3.0.2",
"rollup": "1.31.1",
"rollup-plugin-terser": "^7.0.0",
"rxjs": "6.6.2",
"subscriptions-transport-ws": "^0.9.17",
"ts-jest": "26.2.0",
"ts-node": "8.10.2",
"tsc-watch": "3.0.1",
"typescript": "3.9.7",
"wait-for-observables": "^1.0.3"
},
"publishConfig": {
"access": "public"
}
}