From 53906a2f0bd88e1810d5f82612a6a4e6331d541d Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 26 Oct 2017 17:25:33 +0800 Subject: [PATCH] deps: upgrade deps --- package.json | 8 ++++---- site/theme/static/template.html | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1db00dfa14..53f0e99aae 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "typings": "lib/index.d.ts", "license": "MIT", "peerDependencies": { - "react": "~0.14.0 || >=15.0.0", - "react-dom": "~0.14.0 || >=15.0.0" + "react": "~0.14.0 || >=15.0.0 || >=16.0.0", + "react-dom": "~0.14.0 || >=15.0.0 || >= 16.0.0" }, "dependencies": { "array-tree-filter": "~1.0.0", @@ -82,8 +82,8 @@ "warning": "~3.0.0" }, "devDependencies": { - "@types/react": "^15.0.38", - "@types/react-dom": "~0.14.18", + "@types/react": "^16.0.0", + "@types/react-dom": "^16.0.0", "ansi-styles": "^3.2.0", "antd-tools": "^4.0.1", "babel-cli": "^6.18.0", diff --git a/site/theme/static/template.html b/site/theme/static/template.html index f1bce6eacc..7cf758715f 100644 --- a/site/theme/static/template.html +++ b/site/theme/static/template.html @@ -113,7 +113,8 @@ {% if not usePreact %} {% if isDev %} - + + {% endif %} {% endif %}