mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 17:30:51 +08:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user