chore: move react to peer dependencies

This commit is contained in:
Dmitriy Pleshevskiy 2020-12-20 16:16:56 +03:00
parent 70da8b3ad0
commit a7d045d180

View file

@ -35,7 +35,6 @@
"homepage": "https://github.com/pleshevskiy/react-rest-request#readme", "homepage": "https://github.com/pleshevskiy/react-rest-request#readme",
"dependencies": { "dependencies": {
"lodash.isequal": "^4.5.0", "lodash.isequal": "^4.5.0",
"react": "^17.0.1",
"tiny-invariant": "^1.1.0" "tiny-invariant": "^1.1.0"
}, },
"devDependencies": { "devDependencies": {
@ -52,5 +51,8 @@
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"ts-jest": "^26.4.3", "ts-jest": "^26.4.3",
"typescript": "^4.0.5" "typescript": "^4.0.5"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0"
} }
} }