forked from system-ui/theme-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 2.96 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"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",
"typecheck": "lerna run typecheck",
"logo": "yarn workspace docs logo",
"dev:chrome": "yarn workspace @theme-ui/chrome dev",
"dev:editor": "yarn workspace @theme-ui/editor dev"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/helper-validator-identifier": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"@babel/preset-typescript": "^7.10.1",
"@babel/runtime": "^7.10.2",
"@testing-library/react": "^9.1.3",
"@types/jest": "^25.1.2",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.merge": "^4.6.6",
"@types/react-test-renderer": "^16.9.2",
"babel-jest": "^26.0.1",
"husky": ">=4.0.7",
"jest": "^26.0.1",
"jest-canvas-mock": "^2.2.0",
"jest-emotion": "^10.0.32",
"jest-mock-console": "^1.0.1",
"lerna": "^3.14.1",
"lint-staged": "10",
"microbundle": "^0.12.2",
"prettier": "^2.0.5",
"react-test-renderer": "^16.8.6",
"ts-jest": "^26.1.0",
"ts-snippet": "^4.2.0",
"typescript": "^3.9.5"
},
"resolutions": {},
"jest": {
"preset": "ts-jest/presets/js-with-babel",
"globals": {
"ts-jest": {
"tsConfig": {
"target": "es2018",
"module": "commonjs",
"esModuleInterop": true,
"resolveJsonModule": true,
"jsx": "react",
"alwaysStrict": true,
"noImplicitThis": true,
"noImplicitAny": false,
"strictBindCallApply": false
}
}
},
"testMatch": [
"**/packages/**/test/*.{js,ts,tsx}"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/",
"/presets/",
"/style-guide/",
"tailwind.config.js",
"/dist/"
],
"coverageReporters": [
"lcov",
"text",
"html"
],
"collectCoverageFrom": [
"packages/**/src/**/*.{js,ts,tsx}",
"!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"
],
"transform": {
"^.+\\.jsx?$": "<rootDir>/jest-preprocess.js"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}