From 169377f127ecec7597d529ae446de2d806aecc80 Mon Sep 17 00:00:00 2001 From: Maplor Date: Fri, 14 Jan 2022 16:00:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 8d6d9759..c0b56164 100644 --- a/package.json +++ b/package.json @@ -38,19 +38,16 @@ "es/", "build/" ], + "peerDependencies": { + "prop-types": "^15.5.10", + "react": "15.6 || 16 || 17", + "react-dom": "15.6 || 16 || 17" + }, "dependencies": { "@antv/data-set": "^0.11.5", "@antv/g2": "^4.1.1", - "@types/classnames": "^2.2.10", - "@types/lodash": "^4.14.161", - "@types/prop-types": "^15.7.3", - "@types/react": "15.6 || 16 || 17", - "@types/react-dom": "15.6 || 16 || 17", "classnames": "^2.2.5", - "lodash": "^4.17.0", - "prop-types": "^15.5.10", - "react": "15.6 || 16 || 17", - "react-dom": "15.6 || 16 || 17" + "lodash": "^4.17.0" }, "devDependencies": { "@alib/build-scripts": "^0.1.3", @@ -58,6 +55,11 @@ "@storybook/addon-essentials": "^6.4.12", "@storybook/addon-knobs": "6.4.0", "@storybook/react": "^6.4.12", + "@types/classnames": "^2.2.10", + "@types/lodash": "^4.14.161", + "@types/prop-types": "^15.7.3", + "@types/react": "15.6 || 16 || 17", + "@types/react-dom": "15.6 || 16 || 17", "babel-cli": "^6.24.1", "babel-core": "^6.25.0", "babel-eslint": "^7.2.3",