Skip to content

separated npmignore entries into their related folders to reduce final package size #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
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