From 83605adee130164bb65cfcd6ddf44272e1e1d071 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 20 Dec 2020 16:16:56 +0300 Subject: [PATCH] chore: move react to peer dependencies --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 407f7f7..a0e8c5c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "homepage": "https://github.com/pleshevskiy/react-rest-request#readme", "dependencies": { "lodash.isequal": "^4.5.0", - "react": "^17.0.1", "tiny-invariant": "^1.1.0" }, "devDependencies": { @@ -52,5 +51,8 @@ "node-fetch": "^2.6.1", "ts-jest": "^26.4.3", "typescript": "^4.0.5" + }, + "peerDependencies": { + "react": "^16.3.0 || ^17.0.0" } }