This repository has been archived by the owner on Jul 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
/
package.json
66 lines (66 loc) · 1.73 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
{
"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",
"deploy": "lerna publish -m \"chore: Publish\" --independent"
},
"bundlesize": [
{
"name": "apollo-link-state",
"path": "./packages/apollo-link-state/lib/bundle.min.js",
"maxSize": "3 Kb"
}
],
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": false,
"mapCoverage": true
}
},
"mapCoverage": true,
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"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",
"dependencies": {},
"devDependencies": {
"@types/jest": "22.1.x",
"@types/zen-observable": "0.5.3",
"bundlesize": "0.15.3",
"codecov": "3.0.0",
"danger": "1.2.0",
"lerna": "2.5.1",
"lint-staged": "^7.0.0",
"pre-commit": "1.2.2",
"prettier": "1.8.2",
"react-scripts": "^1.1.1",
"ts-jest": "21.2.3",
"typescript": "2.6.2"
}
}