Fix .gitignore and add .npmignore (#455)

This commit is contained in:
Andrew Jack 2016-10-13 01:34:40 +01:00 committed by Nicolas Charpentier
parent 6074ec3c82
commit a51041e41a
3 changed files with 41 additions and 47 deletions

46
.gitignore vendored
View File

@ -1,9 +1,41 @@
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
ios/RCTCamera.xcodeproj/xcuserdata
ios/RCTCamera.xcodeproj/project.xcworkspace
# OSX
#
.DS_Store
.idea
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IJ
#
*.iml
android/build
.idea
.gradle
local.properties
# node.js
#
node_modules/
npm-debug.log
# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

2
.npmignore Normal file
View File

@ -0,0 +1,2 @@
/Example
issue_template.md

40
Example/.gitignore vendored
View File

@ -1,40 +0,0 @@
# OSX
#
.DS_Store
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IJ
#
.idea
.gradle
local.properties
# node.js
#
node_modules/
npm-debug.log
# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore