forked from acoreyj/apollo-link
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.86 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
{
"private": true,
"license": "MIT",
"scripts": {
"bootstrap": "npm i && lerna bootstrap",
"postbootstrap": "npm run build",
"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",
"filesize": "lerna run -- filesize && bundlesize",
"type-check": "lerna run -- type-check",
"coverage": "lerna run -- coverage",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"predeploy": "npm run bootstrap",
"deploy": "lerna publish -m \"chore: Publish\" --independent",
"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": "3 Kb"
},
{
"name": "apollo-link-batch",
"path": "./packages/apollo-link-batch/lib/bundle.min.js",
"maxSize": "1.5 Kb"
},
{
"name": "apollo-link-batch-http",
"path": "./packages/apollo-link-batch-http/lib/bundle.min.js",
"maxSize": "6.8 Kb"
},
{
"name": "apollo-link-dedup",
"path": "./packages/apollo-link-dedup/lib/bundle.min.js",
"maxSize": "3 Kb"
},
{
"name": "apollo-link-error",
"path": "./packages/apollo-link-error/lib/bundle.min.js",
"maxSize": "1 Kb"
},
{
"name": "apollo-link-http",
"path": "./packages/apollo-link-http/lib/bundle.min.js",
"maxSize": "6 Kb"
},
{
"name": "apollo-link-polling",
"path": "./packages/apollo-link-polling/lib/bundle.min.js",
"maxSize": "1 Kb"
},
{
"name": "apollo-link-retry",
"path": "./packages/apollo-link-retry/lib/bundle.min.js",
"maxSize": "2.5 Kb"
},
{
"name": "apollo-link-ws",
"path": "./packages/apollo-link-ws/lib/bundle.min.js",
"maxSize": "10 Kb"
}
],
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"lint-staged": {
"*.ts*": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"*.js*": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"*.json*": ["prettier --write", "git add"]
},
"pre-commit": "lint-staged",
"dependencies": {},
"devDependencies": {
"@types/zen-observable": "0.5.3",
"bundlesize": "0.16.0",
"codecov": "3.0.0",
"danger": "3.1.7",
"lerna": "2.9.0",
"lint-staged": "6.1.1",
"pre-commit": "1.2.2",
"prettier": "1.10.2",
"rollup-plugin-sourcemaps": "0.4.2",
"ts-jest": "21.2.4",
"typescript": "2.7.2"
}
}