mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
Merge pull request #1190 from SaeedZhiany/ReducePackageSize
separate npmignore entries into their related folders
This commit is contained in:
50
.npmignore
50
.npmignore
@@ -1,52 +1,2 @@
|
|||||||
node_modules/
|
|
||||||
.idea/
|
|
||||||
Example/
|
|
||||||
experimental/
|
|
||||||
android/build/
|
|
||||||
screenshots/
|
screenshots/
|
||||||
idl/
|
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
android/.npmignore
Normal file
10
android/.npmignore
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
*.iml
|
||||||
|
.DS_Store
|
||||||
|
.gradle/
|
||||||
|
.idea/
|
||||||
|
.npmignore
|
||||||
|
build/
|
||||||
|
gradle/
|
||||||
|
gradlew
|
||||||
|
gradlew.bat
|
||||||
|
local.properties
|
||||||
6
ios/.npmignore
Normal file
6
ios/.npmignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
*/project.xcworkspace/
|
||||||
|
*/xcuserdata/
|
||||||
|
.DS_Store
|
||||||
|
.npmignore
|
||||||
|
Pods/
|
||||||
|
build/
|
||||||
@@ -12,6 +12,15 @@
|
|||||||
"module": "lib/module/index.js",
|
"module": "lib/module/index.js",
|
||||||
"react-native": "src/index.ts",
|
"react-native": "src/index.ts",
|
||||||
"types": "src/index.d.ts",
|
"types": "src/index.d.ts",
|
||||||
|
"files": [
|
||||||
|
"__tests__",
|
||||||
|
"android",
|
||||||
|
"elements",
|
||||||
|
"ios",
|
||||||
|
"lib",
|
||||||
|
"src",
|
||||||
|
"RNSVG.podspec"
|
||||||
|
],
|
||||||
"@react-native-community/bob": {
|
"@react-native-community/bob": {
|
||||||
"source": "src",
|
"source": "src",
|
||||||
"output": "lib",
|
"output": "lib",
|
||||||
|
|||||||
Reference in New Issue
Block a user