Move core and native to peerDependencies

This commit is contained in:
Brent Vatne
2018-10-16 15:30:46 -07:00
parent 4b4114ac50
commit aaead62fc1
3 changed files with 1072 additions and 1037 deletions

View File

@@ -11,15 +11,15 @@
"test": "node ./node_modules/jest/bin/jest.js --watchAll"
},
"dependencies": {
"react": "16.3.1",
"react-native": "~0.55.0",
"react-native-paper": "^2.1.3",
"react-navigation-stack": "^1.0.0-alpha.15",
"@react-navigation/core": "3.0.0-alpha.7",
"@react-navigation/native": "^3.0.0-alpha.5",
"expo": "~30.0.0",
"hoist-non-react-statics": "^2.5.0",
"prop-types": "^15.6.0",
"react": "16.3.1",
"react-native": "~0.55.0",
"react-native-paper": "^2.1.3",
"react-navigation-stack": "^1.0.0-alpha.15"
"prop-types": "^15.6.0"
},
"devDependencies": {
"babel-plugin-module-resolver": "^3.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "react-navigation-drawer",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.5",
"description": "Drawer navigator component for React Navigation",
"main": "dist/index.js",
"files": [
@@ -33,10 +33,6 @@
"url": "https://github.com/react-navigation/react-navigation-drawer/issues"
},
"homepage": "https://github.com/react-navigation/react-navigation-drawer#readme",
"dependencies": {
"@react-navigation/core": "^3.0.0-alpha.4",
"@react-navigation/native": "^3.0.0-alpha.5"
},
"devDependencies": {
"@expo/vector-icons": "^6.2.0",
"babel-cli": "^6.26.0",
@@ -56,12 +52,16 @@
"react-dom": "16.3.1",
"react-native": "~0.55.4",
"react-native-gesture-handler": "^1.0.4",
"react-test-renderer": "16.3.1"
"react-test-renderer": "16.3.1",
"@react-navigation/core": "^3.0.0-alpha.4",
"@react-navigation/native": "^3.0.0-alpha.5"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "^1.0.0-alpha.41 || >=1.0.0"
"react-native-gesture-handler": "^1.0.0-alpha.41 || >=1.0.0",
"@react-navigation/core": "^3.0.0-alpha.4",
"@react-navigation/native": "^3.0.0-alpha.5"
},
"jest": {
"preset": "react-native",

File diff suppressed because it is too large Load Diff