-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.13 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
{
"private": true,
"workspaces": {
"packages": [
"packages/*",
"example",
"docs"
]
},
"scripts": {
"prepare": "lerna run prepare",
"test": "jest --passWithNoTests",
"lint": "eslint --ext '.js' .",
"cover": "npx codecov",
"example": "yarn --cwd example",
"docs": "yarn --cwd docs"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/react": "^10.0.4",
"babel-loader": "^8.2.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^25.2.4",
"jest-emotion": "^10.0.14",
"jest-styled-components": "^6.3.3",
"lerna": "^3.16.4",
"metro-react-native-babel-preset": "^0.64.0",
"prettier": "^2.2.0"
},
"resolutions": {
"react": "~16.13.1",
"react-native": "~0.63.2"
},
"eslintConfig": {
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"react-native/no-inline-styles": 0,
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": ["node_modules/", "lib/"],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"jest": {
"testMatch": [
"**/packages/**/test/*.js"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coverageReporters": [
"lcov",
"text",
"html"
],
"collectCoverageFrom": [
"packages/**/src/*.js",
"!packages/docs/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"setupFilesAfterEnv": [],
"snapshotSerializers": [
"jest-emotion"
]
},
"volta": {
"node": "14.15.1"
}
}