fix: fix peer deps and add git urls

This commit is contained in:
satyajit.happy
2019-08-22 04:30:58 +05:30
parent c1a2fd6da4
commit 6b4fc74592
14 changed files with 67 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ Bottom tab navigator for React Navigation following iOS design guidelines.
Open a Terminal in your project's folder and run,
```sh
yarn add @react-navigation/stack
yarn add @react-navigation/core @react-navigation/stack @react-native-community/masked-view
```
Now we need to install [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated).

View File

@@ -12,6 +12,11 @@
],
"version": "5.0.0-alpha.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-navigation/navigation-ex.git",
"directory": "packages/stack"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
@@ -28,7 +33,6 @@
"clean": "del lib"
},
"dependencies": {
"@react-navigation/core": "^5.0.0-alpha.0",
"@react-navigation/routers": "^5.0.0-alpha.0",
"react-native-safe-area-view": "^0.14.6"
},
@@ -46,8 +50,13 @@
"typescript": "^3.5.3"
},
"peerDependencies": {
"@react-native-community/masked-view": "^0.1.1",
"@react-navigation/core": "^5.0.0-alpha.0",
"react": "*",
"react-native": "*"
"react-native": "*",
"react-native-gesture-handler": "^1.0.0",
"react-native-reanimated": "^1.0.0",
"react-native-screens": "^1.0.0-alpha.0"
},
"@react-native-community/bob": {
"source": "src",