Skip to content

Commit a4a27e6

Browse files
committed
separate npmignore entries into their related folders
1 parent 29dd8a4 commit a4a27e6

File tree

4 files changed

+25
-50
lines changed

4 files changed

+25
-50
lines changed

Diff for: .npmignore

-50
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,2 @@
1-
node_modules/
2-
.idea/
3-
Example/
4-
experimental/
5-
android/build/
61
screenshots/
72
idl/
8-
flow-typed/
9-
10-
# OSX
11-
#
12-
.DS_Store
13-
14-
# Xcode
15-
#
16-
*.pbxuser
17-
!default.pbxuser
18-
*.mode1v3
19-
!default.mode1v3
20-
*.mode2v3
21-
!default.mode2v3
22-
*.perspectivev3
23-
!default.perspectivev3
24-
xcuserdata
25-
*.xccheckout
26-
*.moved-aside
27-
DerivedData
28-
*.hmap
29-
*.ipa
30-
gradle
31-
project.xcworkspace
32-
33-
# Android/IJ
34-
#
35-
.idea
36-
.gradle
37-
local.properties
38-
build
39-
40-
# node.js
41-
#
42-
node_modules
43-
npm-debug.log
44-
45-
46-
# webstorm
47-
#
48-
*.iml
49-
50-
# unfinished documents
51-
#
52-
cn-doc.md

Diff for: android/.npmignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.iml
2+
.DS_Store
3+
.gradle/
4+
.idea/
5+
.npmignore
6+
build/
7+
gradle/
8+
gradlew
9+
gradlew.bat
10+
local.properties

Diff for: ios/.npmignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*/project.xcworkspace/
2+
*/xcuserdata/
3+
.DS_Store
4+
.npmignore
5+
Pods/
6+
build/

Diff for: package.json

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
"module": "lib/module/index.js",
1313
"react-native": "src/index.ts",
1414
"types": "src/index.d.ts",
15+
"files": [
16+
"__tests__",
17+
"android",
18+
"elements",
19+
"ios",
20+
"lib",
21+
"src",
22+
"RNSVG.podspec"
23+
],
1524
"@react-native-community/bob": {
1625
"source": "src",
1726
"output": "lib",

0 commit comments

Comments
 (0)