This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 344
/
package.json
143 lines (143 loc) · 4.07 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
{
"private": true,
"license": "MIT",
"scripts": {
"diff": "check-if-folder-contents-changed-in-git-commit-range",
"postinstall": "lerna exec -- npm install --package-lock=false && lerna run prepare",
"build": "lerna run build",
"test": "lerna run test",
"prelint": "npm run lint-fix",
"lint": "lerna run lint",
"lint-fix": "prettier --trailing-comma all --single-quote --write \"packages/*/{src,tests,test,benchmark}/**/*.{j,t}s*\"",
"lint-staged": "lint-staged",
"lint-check": "prettier-check --single-quote --trailing-comma all \"packages/*/{src,__tests__}/**/*.ts\"",
"filesize": "lerna run filesize && bundlesize",
"type-check": "lerna run type-check",
"coverage": "jest --verbose --coverage",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"predeploy": "npm install",
"test-ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"deploy": "lerna publish -m \"chore: Publish\"",
"watch": "trap \"kill 0\" SIGINT; for f in `ls packages`; do (cd `pwd`/packages/$f && [[ -e package.json ]] && npm run watch) & done; "
},
"bundlesize": [
{
"name": "apollo-link",
"path": "./packages/apollo-link/lib/bundle.min.js",
"maxSize": "1.1 Kb"
},
{
"name": "apollo-link-batch",
"path": "./packages/apollo-link-batch/lib/bundle.min.js",
"maxSize": "1 Kb"
},
{
"name": "apollo-link-batch-http",
"path": "./packages/apollo-link-batch-http/lib/bundle.min.js",
"maxSize": "1 Kb"
},
{
"name": "apollo-link-dedup",
"path": "./packages/apollo-link-dedup/lib/bundle.min.js",
"maxSize": "535 B"
},
{
"name": "apollo-link-error",
"path": "./packages/apollo-link-error/lib/bundle.min.js",
"maxSize": "465 B"
},
{
"name": "apollo-link-http",
"path": "./packages/apollo-link-http/lib/bundle.min.js",
"maxSize": "1.15 Kb"
},
{
"name": "apollo-link-polling",
"path": "./packages/apollo-link-polling/lib/bundle.min.js",
"maxSize": "350 B"
},
{
"name": "apollo-link-retry",
"path": "./packages/apollo-link-retry/lib/bundle.min.js",
"maxSize": "1.15 Kb"
},
{
"name": "apollo-link-schema",
"path": "./packages/apollo-link-schema/lib/bundle.min.js",
"maxSize": "400 B"
},
{
"name": "apollo-link-ws",
"path": "./packages/apollo-link-ws/lib/bundle.min.js",
"maxSize": "300 B"
}
],
"renovate": {
"extends": [
"config:base",
"schedule:nonOfficeHours",
":pinOnlyDevDependencies"
],
"semanticCommits": true,
"timezone": "America/New_York",
"automerge": false,
"labels": [
"dependencies"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testURL": "http://localhost",
"testPathIgnorePatterns": [
"/node_modules/",
"sharedHttpTests.ts"
]
},
"lint-staged": {
"*.{ts, tsx, js, jsx}": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"!(package).json": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged",
"pre-push": "lint-check",
"dependencies": {},
"devDependencies": {
"@condenast/bundlesize": "0.18.1",
"@types/zen-observable": "0.8.0",
"check-if-folder-contents-changed-in-git-commit-range": "1.0.1",
"codecov": "3.7.1",
"danger": "3.9.0",
"jest": "24.9.0",
"jest-junit": "6.4.0",
"lerna": "3.22.1",
"lint-staged": "7.3.0",
"pre-commit": "1.2.2",
"pre-push": "0.1.1",
"prettier": "1.15.2",
"prettier-check": "2.0.0",
"rollup": "1.32.1",
"rollup-plugin-invariant": "0.5.6",
"rollup-plugin-node-resolve": "4.2.4",
"rollup-plugin-sourcemaps": "0.6.2",
"rollup-plugin-typescript2": "0.27.1",
"terser": "3.17.0",
"ts-jest": "22.4.6",
"tslib": "1.13.0",
"typescript": "3.0.3"
}
}