diff --git a/lib/addons/package.json b/lib/addons/package.json index c1d2ee0eae15..9fbb807e00c0 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -43,6 +43,7 @@ "@types/util-deprecate": "^1.0.0" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/api/package.json b/lib/api/package.json index 8f33f673650c..715737dffbce 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -50,7 +50,9 @@ }, "devDependencies": { "@types/lodash": "^4.14.149", - "@types/semver": "^6.0.0" + "@types/semver": "^6.0.0", + "flush-promises": "^1.0.2", + "qs": "^6.6.0" }, "peerDependencies": { "react-dom": "*" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index e11d421edf3c..d4eb01a7ae27 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -47,6 +47,7 @@ "util-deprecate": "^1.0.2" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json index 0b9381e2145b..84f164624962 100644 --- a/lib/postinstall/package.json +++ b/lib/postinstall/package.json @@ -33,6 +33,7 @@ }, "devDependencies": { "@hypnosphi/jscodeshift": "^0.6.4", + "jest": "^25.1.0", "jest-specific-snapshot": "^2.0.0" }, "publishConfig": { diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index bbbc96273e59..e7046b8fb573 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -40,6 +40,7 @@ "regenerator-runtime": "^0.13.3" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/ui/package.json b/lib/ui/package.json index 54d3106ff83d..417558a97dd0 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -64,11 +64,16 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { + "@babel/core": "^7.8.4", "@storybook/addon-actions": "6.0.0-alpha.20", "@storybook/addon-knobs": "6.0.0-alpha.20", "@storybook/react": "6.0.0-alpha.20", + "@testing-library/react": "^9.2.0", + "babel-loader": "^8.0.6", "corejs-upgrade-webpack-plugin": "^3.0.1", + "enzyme": "^3.11.0", "flush-promises": "^1.0.2", + "storybook-chromatic": "^3.5.0", "terser-webpack-plugin": "^2.3.4", "webpack": "^4.33.0" },