forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.51 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
{
"name": "@apollo/client",
"version": "3.0.2",
"description": "A fully-featured caching GraphQL client.",
"private": true,
"keywords": [
"apollo",
"graphql",
"react",
"hooks",
"client",
"cache"
],
"author": "opensource@apollographql.com",
"license": "MIT",
"main": "./dist/apollo-client.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 bundle && npm run prepdist",
"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",
"bundle": "rollup -c ./config/rollup.config.js",
"coverage": "jest --config ./config/jest.config.js --verbose --coverage",
"bundlesize": "npm run build && bundlesize",
"prepdist": "node ./config/prepareDist.js",
"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.1.9",
"fast-json-stable-stringify": "^2.0.0",
"graphql-tag": "^2.10.4",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.12.1",
"prop-types": "^15.7.2",
"symbol-observable": "^1.2.0",
"ts-invariant": "^0.4.4",
"tslib": "^1.10.0",
"zen-observable": "^0.8.14"
},
"devDependencies": {
"@testing-library/react": "9.4.1",
"@types/fast-json-stable-stringify": "2.0.0",
"@types/fetch-mock": "^7.3.2",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "26.0.5",
"@types/lodash": "4.14.157",
"@types/node": "14.0.18",
"@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",
"graphql": "15.3.0",
"graphql-tools": "^6.0.12",
"jest": "26.1.0",
"jest-junit": "11.0.1",
"lodash": "4.17.19",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"recast": "0.19.1",
"recompose": "^0.30.0",
"rimraf": "3.0.2",
"rollup": "1.31.1",
"rollup-plugin-invariant": "0.5.6",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "5.1.3",
"rxjs": "6.6.0",
"subscriptions-transport-ws": "^0.9.17",
"ts-jest": "26.1.1",
"tsc-watch": "3.0.1",
"typescript": "3.9.6",
"wait-for-observables": "^1.0.3"
},
"publishConfig": {
"access": "public"
}
}