From 7cd26024ceffafc61a744325ef71b583db2ac1cd Mon Sep 17 00:00:00 2001 From: Kurt Weiberth Date: Thu, 1 Dec 2016 08:37:14 -0800 Subject: [PATCH] add dependencies to react-test-renderer and react-addons (#8467) **What** and **Why**: * When using npm version 2, `object-assign` and `fbjs` were not getting properly installed * This PR adds `object-assign` and `fbjs` as explicit dependencies to both `react-test-renderer` and `react-addons` --- packages/react-addons/package.json | 5 ++++- packages/react-test-renderer/package.json | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/react-addons/package.json b/packages/react-addons/package.json index 80f2250f3618f..6db871b19b95d 100644 --- a/packages/react-addons/package.json +++ b/packages/react-addons/package.json @@ -8,7 +8,10 @@ "react-addon" ], "license": "BSD-3-Clause", - "dependencies": {}, + "dependencies": { + "fbjs": "^0.8.4", + "object-assign": "^4.1.0" + }, "peerDependencies": { "react": "^16.0.0-alpha" }, diff --git a/packages/react-test-renderer/package.json b/packages/react-test-renderer/package.json index 7e89c811b6a7c..8b25228147cfb 100644 --- a/packages/react-test-renderer/package.json +++ b/packages/react-test-renderer/package.json @@ -14,6 +14,10 @@ "url": "https://github.com/facebook/react/issues" }, "homepage": "https://facebook.github.io/react/", + "dependencies": { + "fbjs": "^0.8.4", + "object-assign": "^4.1.0" + }, "peerDependencies": { "react": "^16.0.0-alpha" },