forked from system-ui/theme-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.08 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
{
"private": true,
"scripts": {
"prepare": "lerna run prepare",
"start": "yarn workspace docs start",
"build": "yarn workspace docs build",
"serve": "yarn workspace docs serve --port 8000",
"clean": "lerna run clean",
"format": "prettier --write \"**/*.js{,on}\" \"**/*.md\" \"**/*.mdx\"",
"test": "jest",
"logo": "yarn workspace docs logo",
"dev:chrome": "yarn workspace @theme-ui/chrome dev",
"dev:editor": "yarn workspace @theme-ui/editor dev"
},
"workspaces": [
"packages/*",
"examples/*"
],
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.7.7",
"@testing-library/react": "^9.1.3",
"babel-jest": "^24.9.0",
"husky": ">=4.0.7",
"jest": "^24.8.0",
"jest-canvas-mock": "^2.2.0",
"jest-emotion": "^10.0.11",
"jest-mock-console": "^1.0.0",
"lerna": "^3.14.1",
"lint-staged": "10",
"microbundle": "^0.11.0",
"prettier": "^1.18.2",
"react-test-renderer": "^16.8.6"
},
"resolutions": {},
"jest": {
"testMatch": [
"**/packages/**/test/*.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/",
"/presets/",
"/style-guide/",
"tailwind.config.js"
],
"coverageReporters": [
"lcov",
"text",
"html"
],
"collectCoverageFrom": [
"packages/**/src/**/*.js",
"!packages/docs/**/*",
"!packages/presets/**/*",
"!packages/style-guide/**/*",
"!packages/gatsby-theme-style-guide/**/*",
"!packages/chrome/**/*",
"!packages/gatsby-theme-*/**/*",
"!packages/preset-*/**/*"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"snapshotSerializers": [
"jest-emotion"
],
"setupFiles": [
"jest-canvas-mock"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}