forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 4.69 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
{
"name": "apollo-client-monorepo",
"private": true,
"license": "MIT",
"scripts": {
"postinstall": "lerna exec -- npm install && lerna run prepare",
"diff": "check-if-folder-contents-changed-in-git-commit-range",
"build": "lerna run build",
"test": "jest --verbose",
"test-ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"benchmark": "cd packages/apollo-client && npm run benchmark",
"prelint": "npm run lint-fix",
"lint": "lerna run lint",
"lint-fix": "prettier --ignore-path \"./config/prettierignore\" --trailing-comma all --single-quote --write \"packages/*/{src,tests,test,benchmark}/**/*.{j,t}s*\"",
"lint-staged": "lint-staged",
"filesize": "lerna run filesize && bundlesize",
"coverage": "jest --verbose --coverage",
"coverage:upload": "codecov",
"danger": "danger run --verbose --dangerfile=./config/dangerfile.ts",
"deploy": "lerna publish -m \"chore: Publish\" && cd packages/apollo-client && npm run deploy",
"clean": "find . -name \"node_modules\" -exec rm -rf '{}' + && find . -name \"lib\" -exec rm -rf '{}' +"
},
"bundlesize": [
{
"name": "apollo-cache",
"path": "./packages/apollo-cache/lib/bundle.min.js",
"maxSize": "1 kB"
},
{
"name": "apollo-cache-inmemory",
"path": "./packages/apollo-cache-inmemory/lib/bundle.min.js",
"maxSize": "7 kB"
},
{
"name": "apollo-client",
"path": "./packages/apollo-client/lib/bundle.min.js",
"maxSize": "10 kB"
},
{
"name": "apollo-boost",
"path": "./packages/apollo-boost/lib/bundle.min.js",
"maxSize": "35 kB"
},
{
"name": "apollo-utilities",
"path": "./packages/apollo-utilities/lib/bundle.min.js",
"maxSize": "5 kB"
},
{
"name": "graphql-anywhere",
"path": "./packages/graphql-anywhere/lib/bundle.min.js",
"maxSize": "1.25 kB"
}
],
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testURL": "http://localhost",
"testPathIgnorePatterns": [
"/npm/",
"/node_modules/"
]
},
"lint-staged": {
"*.ts*": [
"prettier --ignore-path \"./config/prettierignore\" --trailing-comma all --single-quote --write",
"git add"
],
"*.js*": [
"prettier --ignore-path \"./config/prettierignore\" --trailing-comma all --single-quote --write",
"git add"
]
},
"pre-commit": "lint-staged",
"dependencies": {
"apollo-boost": "file:packages/apollo-boost",
"apollo-cache": "file:packages/apollo-cache",
"apollo-cache-inmemory": "file:packages/apollo-cache-inmemory",
"apollo-client": "file:packages/apollo-client",
"apollo-utilities": "file:packages/apollo-utilities",
"graphql-anywhere": "file:packages/graphql-anywhere"
},
"devDependencies": {
"@octokit/rest": "15.18.0",
"@types/benchmark": "1.0.31",
"@types/graphql": "0.12.7",
"@types/isomorphic-fetch": "0.0.34",
"@types/jest": "23.3.10",
"@types/lodash": "4.14.118",
"@types/node": "10.12.12",
"@types/react": "16.7.13",
"@types/react-dom": "16.0.11",
"benchmark": "2.1.4",
"bundlesize": "0.17.0",
"check-if-folder-contents-changed-in-git-commit-range": "1.0.0",
"codecov": "3.1.0",
"danger": "4.4.10",
"fetch-mock": "7.2.5",
"flow-bin": "0.87.0",
"graphql": "0.13.2",
"graphql-tag": "2.10.0",
"isomorphic-fetch": "2.2.1",
"jest": "23.6.0",
"jest-junit": "5.2.0",
"lerna": "3.5.1",
"lint-staged": "7.3.0",
"lodash": "4.17.11",
"pre-commit": "1.2.2",
"prettier": "1.15.3",
"react": "16.6.3",
"react-dom": "16.6.3",
"rollup": "0.67.4",
"rollup-plugin-local-resolve": "1.0.7",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rxjs": "6.3.3",
"ts-jest": "23.1.4",
"tslint": "5.11.0",
"typescript": "3.1.6",
"uglify-js": "3.4.9",
"webpack": "3.12.0",
"webpack-bundle-analyzer": "3.0.3"
},
"renovate": {
"extends": [
":pinOnlyDevDependencies"
],
"semanticCommits": true,
"timezone": "America/Los_Angeles",
"schedule": [
"after 10pm and before 5am on every weekday"
],
"rebaseStalePrs": true,
"prCreation": "not-pending",
"automerge": "minor",
"labels": [
"dependencies"
],
"assignees": [
"@hwillson"
],
"reviewers": [
"@hwillson"
],
"pathRules": [
{
"paths": [
"docs/package.json"
],
"extends": [
"apollo-docs"
]
}
]
}
}