From a7d045d1801878f5e697da2f417c4522ee931d49 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 0bbfa0f..ff0b84d 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" } }