From 79307f08d568e1c12d3ac9cb2cdcdcf6449cf65f Mon Sep 17 00:00:00 2001 From: iamkun Date: Tue, 9 Feb 2021 11:55:58 +0800 Subject: [PATCH] chore: use Day.js as peerDependencies (#214) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c128e9c48d5..d395f4007261 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", "date-fns": "^2.15.0", - "dayjs": "^1.8.30", "moment": "^2.24.0", "rc-trigger": "^5.0.4", "rc-util": "^5.4.0", @@ -60,6 +59,7 @@ "@umijs/fabric": "^2.0.8", "coveralls": "^3.0.6", "cross-env": "^7.0.2", + "dayjs": "^1.8.30", "enzyme": "^3.0.0", "enzyme-adapter-react-16": "^1.0.1", "enzyme-to-json": "^3.4.0", @@ -85,6 +85,7 @@ "mode": "npm" }, "peerDependencies": { + "dayjs": "^1.8.30", "react": ">=16.9.0", "react-dom": ">=16.9.0" }