From 8176cae45f851e08fa2f21644300f2b05cb0682e Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Fri, 29 Sep 2017 16:14:23 +0200 Subject: [PATCH 1/2] changed so this package will work with react 16.^ --- AppIntro.js | 3 ++- package.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/AppIntro.js b/AppIntro.js index 52b42d9..4ff052f 100644 --- a/AppIntro.js +++ b/AppIntro.js @@ -1,5 +1,6 @@ import assign from 'assign-deep'; -import React, { Component, PropTypes } from 'react'; +import PropTypes from 'prop-types'; +import React, { Component } from 'react'; import { StatusBar, StyleSheet, diff --git a/package.json b/package.json index ed3fbd5..7e75868 100644 --- a/package.json +++ b/package.json @@ -29,5 +29,8 @@ "dependencies": { "assign-deep": "^0.4.5", "react-native-swiper": "git+https://github.com/FuYaoDe/react-native-swiper.git" + }, + "peerDependencies": { + "prop-types": "^15.5.10" } } From ab94abe7b0592993bda085ddecf28939563453c6 Mon Sep 17 00:00:00 2001 From: Ernoff Date: Sun, 1 Oct 2017 04:16:20 +0100 Subject: [PATCH 2/2] updated package.json --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 7e75868..e1b820b 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,7 @@ "homepage": "https://github.com/fuyaode/react-native-app-intro#readme", "dependencies": { "assign-deep": "^0.4.5", - "react-native-swiper": "git+https://github.com/FuYaoDe/react-native-swiper.git" - }, - "peerDependencies": { + "react-native-swiper": "git+https://github.com/FuYaoDe/react-native-swiper.git", "prop-types": "^15.5.10" } }