Skip to content

Commit

Permalink
fixed gitignore and npmignore files to properly exclude unimportant f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
NappyPirate committed Oct 9, 2018
1 parent 0b4eaba commit 4be442b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# OSX
#
.DS_Store
Expand All @@ -10,10 +9,9 @@ npm-debug.log
yarn-error.log
lib/


# Xcode
#
build/
ios/build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -34,13 +32,8 @@ project.xcworkspace

# Android/IntelliJ
#
build/
android/build/
.idea
.gradle
local.properties
*.iml

# BUCK
buck-out/
\.buckd/
*.keystore
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules/
npm-debug.log
yarn-error.log
6 changes: 6 additions & 0 deletions android/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.DS_Store
build/
.idea
.gradle
local.properties
*.iml
18 changes: 18 additions & 0 deletions ios/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.DS_Store
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"android/",
"ios/",
"src/",
"lib/"
"lib/",
"index.d.ts"
],
"license": "MIT",
"peerDependencies": {
Expand Down

0 comments on commit 4be442b

Please sign in to comment.