forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.6 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
{
"private": true,
"license": "MIT",
"scripts": {
"bootstrap": "lerna bootstrap",
"diff": "check-if-folder-contents-changed-in-git-commit-range",
"postinstall": "npm run 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.8 kB"
},
{
"name": "apollo-boost",
"path": "./packages/apollo-boost/lib/bundle.min.js",
"maxSize": "33 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.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",
"devDependencies": {
"bundlesize": "0.17.0",
"check-if-folder-contents-changed-in-git-commit-range": "1.0.0",
"codecov": "3.0.0",
"danger": "1.2.0",
"jest-junit": "3.6.0",
"lerna": "2.9.1",
"lint-staged": "6.1.0",
"pre-commit": "1.2.2",
"prettier": "1.11.1",
"rollup-plugin-local-resolve": "1.0.7",
"rollup-plugin-node-resolve": "3.3.0",
"rollup-plugin-sourcemaps": "0.4.2",
"ts-jest": "20.0.14",
"typescript": "2.5.2"
}
}