Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
separated npmignore entries into their related folders to reduce fina…
…l package size
  • Loading branch information
SaeedZhiany committed Dec 23, 2019
commit eda9648b542db0d81d046182e412a484a7f1d8c4
16 changes: 0 additions & 16 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,17 @@
!default.perspectivev3
.*
.bak/
.DS_Store
.gradle
.idea
*.bak
*.hmap
*.iml
*.ipa
*.keystore
*.log
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
*.tgz
*.xccheckout
*.xcuserstate
**/.vscode/.react/
\.buckd/
~*
android/build/
buck-out/
build/
DerivedData
local.properties
node_modules/
package-lock.json
project.xcworkspace
xcuserdata
yarn.lock
11 changes: 11 additions & 0 deletions android/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.iml
.DS_Store
.gradle/
.idea/
.npmignore
build/
gradle/
gradlew
gradlew.bat
local.properties
*.keystore
9 changes: 9 additions & 0 deletions ios/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*/project.xcworkspace/
*/xcuserdata/
.DS_Store
.npmignore
Pods/
build/
DerivedData
*.xccheckout
*.xcuserstate
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "4.0.0-rc.1",
"description": "Measure text accurately before laying it out and get font information from your App",
"main": "index.js",
"files": [
"android/",
"ios/",
"index.d.ts",
"index.js.flow"
],
"keywords": [
"react-native",
"measure",
Expand Down