diff --git a/packages/docusaurus-mdx-loader/package.json b/packages/docusaurus-mdx-loader/package.json index 375508986e45..b6c4185faa2f 100644 --- a/packages/docusaurus-mdx-loader/package.json +++ b/packages/docusaurus-mdx-loader/package.json @@ -42,6 +42,11 @@ "unist-builder": "^2.0.3", "unist-util-remove-position": "^2.0.1" }, + "peerDependencies": { + "react": "^16.13.1", + "react-dom": "^16.8.4", + "webpack": "^4.0.0 || ^5.0.0" + }, "engines": { "node": ">=10.15.1" } diff --git a/packages/docusaurus-plugin-google-analytics/package.json b/packages/docusaurus-plugin-google-analytics/package.json index 37273fc517d2..101cc078a497 100644 --- a/packages/docusaurus-plugin-google-analytics/package.json +++ b/packages/docusaurus-plugin-google-analytics/package.json @@ -15,6 +15,10 @@ "dependencies": { "@docusaurus/core": "2.0.0-alpha.66" }, + "peerDependencies": { + "react": "^16.8.4", + "react-dom": "^16.8.4" + }, "engines": { "node": ">=10.15.1" } diff --git a/packages/docusaurus-plugin-google-gtag/package.json b/packages/docusaurus-plugin-google-gtag/package.json index fcd81c330a7c..fe424db62eca 100644 --- a/packages/docusaurus-plugin-google-gtag/package.json +++ b/packages/docusaurus-plugin-google-gtag/package.json @@ -15,6 +15,10 @@ "dependencies": { "@docusaurus/core": "2.0.0-alpha.66" }, + "peerDependencies": { + "react": "^16.8.4", + "react-dom": "^16.8.4" + }, "engines": { "node": ">=10.15.1" } diff --git a/packages/docusaurus-plugin-sitemap/package.json b/packages/docusaurus-plugin-sitemap/package.json index 257b244ef08c..2301d83538d7 100644 --- a/packages/docusaurus-plugin-sitemap/package.json +++ b/packages/docusaurus-plugin-sitemap/package.json @@ -23,6 +23,10 @@ "fs-extra": "^8.1.0", "sitemap": "^3.2.2" }, + "peerDependencies": { + "react": "^16.8.4", + "react-dom": "^16.8.4" + }, "engines": { "node": ">=10.15.1" }