From 098d8f9d72f9160b820c32fb1aa499b10bfb9626 Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Thu, 5 Jan 2023 21:31:06 +0200 Subject: [PATCH] fix: add peer dependencies. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index a0a10ce..86291d4 100755 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "rollup-plugin-typescript2": "^0.31.2", "typescript": "^4.5.5" }, + "peerDependencies": { + "react": "^16 || ^17 || ^18" + }, "scripts": { "typecheck": "tsc", "build": "cross-env NODE_ENV=production tsc --noEmit --project ./tsconfig.json && rollup -c"