Skip to content

Commit 8e5e21d

Browse files
committed
chore: improve prepare config
1 parent 1b919dc commit 8e5e21d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"!android/gradlew",
3232
"!android/gradlew.bat",
3333
"!android/local.properties",
34-
"!**/*.test.ts",
3534
"!**/__tests__",
3635
"!**/__fixtures__",
3736
"!**/__mocks__",
@@ -112,6 +111,11 @@
112111
"packageManager": "[email protected]",
113112
"react-native-builder-bob": {
114113
"source": "src",
114+
"exclude": [
115+
"**/{__tests__,__fixtures__,__mocks__}/**",
116+
"**/*.test.ts",
117+
"**/*.test.tsx"
118+
],
115119
"output": "lib",
116120
"targets": [
117121
[

tsconfig.build.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
22
"extends": "./tsconfig",
3-
"exclude": ["example", "expoExample", "sharedExample", "lib"]
3+
"exclude": [
4+
"example",
5+
"expoExample",
6+
"sharedExample",
7+
"lib",
8+
"jest-setup.ts",
9+
"src/**/*.test.ts",
10+
"src/**/*.test.tsx"
11+
]
412
}

0 commit comments

Comments
 (0)