From 42a781be3e2c721b255c18f5d23eaa563bcc6ec3 Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 11 Jun 2020 10:50:42 -0400 Subject: [PATCH] Make react-native-windows an optionalDependency and match react-native to docs --- CHANGELOG.md | 3 +++ package.json | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36cfc794..5cb2eb01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # CHANGELOG +### 2.4.2 + +- Make react-native-windows optional [#191](https://github.com/react-native-community/datetimepicker/pull/191) ### 2.4.0 diff --git a/package.json b/package.json index b84aa55c..a2af921f 100644 --- a/package.json +++ b/package.json @@ -71,13 +71,15 @@ "react-test-renderer": "^16.11.0" }, "peerDependencies": { - "react": ">=16.11", - "react-native": ">=0.61", - "react-native-windows": "^0.62.0-preview.1" + "react": ">=16.8.3", + "react-native": ">=0.59" }, "dependencies": { "invariant": "^2.2.4" }, + "optionalDependencies": { + "react-native-windows": "^0.62.0-preview.1" + }, "detox": { "test-runner": "jest", "runner-config": "example/e2e/config.json",