Browse Source

fix(build): npmignore unwanted platform-specific files (#41)

Mike Hardy 4 years ago
parent
commit
e0c62aeb5e
No account linked to committer's email address
3 changed files with 16 additions and 1 deletions
  1. 10
    0
      android/.npmignore
  2. 6
    0
      ios/.npmignore
  3. 0
    1
      package.json

+ 10
- 0
android/.npmignore View File

1
+*.iml
2
+.DS_Store
3
+.gradle/
4
+.idea/
5
+.npmignore
6
+build/
7
+gradle/
8
+gradlew
9
+gradlew.bat
10
+local.properties

+ 6
- 0
ios/.npmignore View File

1
+*/project.xcworkspace/
2
+*/xcuserdata/
3
+.DS_Store
4
+.npmignore
5
+Pods/
6
+build/

+ 0
- 1
package.json View File

11
     "/src",
11
     "/src",
12
     "/lib",
12
     "/lib",
13
     "/android",
13
     "/android",
14
-    "!/android/build",
15
     "/ios",
14
     "/ios",
16
     "/*.podspec"
15
     "/*.podspec"
17
   ],
16
   ],