Skip to content

Commit

Permalink
separate npmignore entries into their related folders
Browse files Browse the repository at this point in the history
  • Loading branch information
SaeedZhiany committed Nov 13, 2019
1 parent 29dd8a4 commit a4a27e6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 50 deletions.
50 changes: 0 additions & 50 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,52 +1,2 @@
node_modules/
.idea/
Example/
experimental/
android/build/
screenshots/
idl/
flow-typed/

# OSX
#
.DS_Store

# Xcode
#
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
gradle
project.xcworkspace

# Android/IJ
#
.idea
.gradle
local.properties
build

# node.js
#
node_modules
npm-debug.log


# webstorm
#
*.iml

# unfinished documents
#
cn-doc.md
10 changes: 10 additions & 0 deletions android/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.iml
.DS_Store
.gradle/
.idea/
.npmignore
build/
gradle/
gradlew
gradlew.bat
local.properties
6 changes: 6 additions & 0 deletions ios/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*/project.xcworkspace/
*/xcuserdata/
.DS_Store
.npmignore
Pods/
build/
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"module": "lib/module/index.js",
"react-native": "src/index.ts",
"types": "src/index.d.ts",
"files": [
"__tests__",
"android",
"elements",
"ios",
"lib",
"src",
"RNSVG.podspec"
],
"@react-native-community/bob": {
"source": "src",
"output": "lib",
Expand Down

0 comments on commit a4a27e6

Please sign in to comment.