Skip to content

Commit 0213adc

Browse files
committed
fix: exclude some unnecessary files from the package
1 parent cb404bf commit 0213adc

File tree

1 file changed

+8
-3
lines changed
  • packages/create-react-native-library/templates/common

1 file changed

+8
-3
lines changed

packages/create-react-native-library/templates/common/$package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@
1313
"android",
1414
"ios",
1515
"cpp",
16-
"<%- project.identifier -%>.podspec",
16+
"*.podspec",
1717
"!lib/typescript/example",
18-
"!android/build",
1918
"!ios/build",
19+
"!android/build",
20+
"!android/gradle",
21+
"!android/gradlew",
22+
"!android/gradlew.bat",
23+
"!android/local.properties",
2024
"!**/__tests__",
2125
"!**/__fixtures__",
22-
"!**/__mocks__"
26+
"!**/__mocks__",
27+
"!**/.*"
2328
],
2429
"scripts": {
2530
"test": "jest",

0 commit comments

Comments
 (0)