This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.37 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
{
"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 build && npm test",
"deploy":
"lerna publish -m \"chore: Publish\" --independent --cd-version=prerelease --preid=beta --npm-tag=beta && cd packages/apollo-client && npm run deploy"
},
"bundlesize": [
{
"name": "apollo-cache",
"path": "./packages/apollo-cache/lib/bundle.min.js",
"threshold": "1 Kb"
},
{
"name": "apollo-cache-inmemory",
"path": "./packages/apollo-cache-inmemory/lib/bundle.min.js",
"threshold": "5.7 Kb"
},
{
"name": "apollo-client",
"path": "./packages/apollo-client/lib/bundle.min.js",
"threshold": "11.1 Kb"
},
{
"name": "apollo-client-preset",
"path": "./packages/apollo-client-preset/lib/bundle.min.js",
"threshold": "28 Kb"
},
{
"name": "apollo-utilities",
"path": "./packages/apollo-utilities/lib/bundle.min.js",
"threshold": "4.65 Kb"
},
{
"name": "graphql-anywhere",
"path": "./packages/graphql-anywhere/lib/bundle.min.js",
"threshold": "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.14.1",
"codecov": "2.3.0",
"danger": "1.2.0",
"lerna": "2.2.0",
"lint-staged": "4.2.1",
"pre-commit": "1.2.2",
"prettier": "1.7.0",
"ts-jest": "20.0.14",
"typescript": "2.5.2"
}
}