Distribute source (#59)

By shipping source files and setting the ‘react-native’ entry point to src, the RN packager can parse the module and provide source maps when debugging from your app. This makes the install slightly heavier but is worth it for the improved ergonomics.
This commit is contained in:
Eric Vicenti
2018-10-09 11:00:07 -07:00
parent 9acfc9810e
commit 84f22834f9

View File

@@ -5,9 +5,11 @@
"main": "dist/index.js",
"files": [
"dist/",
"src/",
"createBottomTabNavigator.js",
"createMaterialTopTabNavigator.js"
],
"react-native": "src/index.js",
"scripts": {
"test": "jest",
"flow": "flow",