forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.05 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
{
"name": "@apollo/client",
"version": "3.0.0-beta.41",
"description": "A fully-featured caching GraphQL client.",
"private": true,
"keywords": [
"apollo",
"graphql",
"react",
"hooks",
"client",
"cache"
],
"author": "[email protected]",
"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: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",
"coverage:upload": "codecov",
"bundlesize": "npm run build && bundlesize",
"prepdist": "node ./config/prepareDist.js",
"predeploy": "npm run build",
"deploy": "cd dist && npm publish --tag beta"
},
"bundlesize": [
{
"name": "apollo-client",
"path": "./dist/apollo-client.cjs.min.js",
"maxSize": "24 kB"
}
],
"peerDependencies": {
"graphql": "^14.5.4",
"react": "^16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"dependencies": {
"@types/zen-observable": "^0.8.0",
"@wry/equality": "^0.1.9",
"fast-json-stable-stringify": "^2.0.0",
"graphql-tag": "^2.10.2",
"optimism": "^0.11.5",
"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/jest": "24.0.25",
"@types/lodash": "4.14.149",
"@types/node": "12.12.22",
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"bundlesize": "0.18.0",
"codecov": "3.6.5",
"fetch-mock": "7.7.3",
"graphql": "14.6.0",
"jest": "24.9.0",
"jest-junit": "8.0.0",
"lodash": "4.17.15",
"prop-types": "15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"recast": "0.18.7",
"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.5.3",
"ts-jest": "24.0.2",
"tsc-watch": "3.0.1",
"typescript": "3.7.4"
},
"publishConfig": {
"access": "public"
}
}