forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.36 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
{
"private": true,
"license": "MIT",
"scripts": {
"bootstrap": "npm i && lerna bootstrap",
"postinstall": "lerna bootstrap",
"postbootstrap": "npm run build",
"build": "lerna run -- build",
"test": "lerna run -- test",
"benchmark": "cd packages/apollo-client && npm run benchmark",
"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",
"deploy":
"lerna publish -m \"chore: Publish\" --independent && cd packages/apollo-client && npm run deploy"
},
"bundlesize": [
{
"name": "apollo-cache",
"path": "./packages/apollo-cache/lib/bundle.min.js",
"maxSize": "1.2 kB"
},
{
"name": "apollo-cache-inmemory",
"path": "./packages/apollo-cache-inmemory/lib/bundle.min.js",
"maxSize": "6.2 kB"
},
{
"name": "apollo-client",
"path": "./packages/apollo-client/lib/bundle.min.js",
"maxSize": "11.7 kB"
},
{
"name": "apollo-client-preset",
"path": "./packages/apollo-client-preset/lib/bundle.min.js",
"maxSize": "31 kB"
},
{
"name": "apollo-utilities",
"path": "./packages/apollo-utilities/lib/bundle.min.js",
"maxSize": "4.75 kB"
},
{
"name": "graphql-anywhere",
"path": "./packages/graphql-anywhere/lib/bundle.min.js",
"maxSize": "1.7 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": {
"bundlesize": "0.15.3",
"codecov": "3.0.0",
"danger": "1.2.0",
"lerna": "2.7.1",
"lint-staged": "6.0.0",
"pre-commit": "1.2.2",
"prettier": "1.10.2",
"ts-jest": "20.0.14",
"typescript": "2.5.2"
}
}