Skip to content

Commit

Permalink
fix: npm package size
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud de Mouhy committed Sep 28, 2020
1 parent 0defcc3 commit daa8223
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
10 changes: 10 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*

# Included to the final package
!ios/**/*
ios/RadioPlayer.xcodeproj
!android/**/*
!react-native-radio-player.podspec
!src/index.tsx
!LICENSE
!README
23 changes: 9 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"react-native-radio-player.podspec",
"!lib/typescript/example",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
Expand Down Expand Up @@ -125,7 +113,10 @@
]
}
},
"eslintIgnore": ["node_modules/", "lib/"],
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
Expand All @@ -136,6 +127,10 @@
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": ["commonjs", "module", "typescript"]
"targets": [
"commonjs",
"module",
"typescript"
]
}
}

0 comments on commit daa8223

Please sign in to comment.