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`
(cherry picked from commit 7cd26024ce)
This commit is contained in:
Kurt Weiberth
2017-01-06 16:58:22 +00:00
committed by Dan Abramov
parent 5216190247
commit 3ec576ec1d
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -8,7 +8,10 @@
"react-addon"
],
"license": "BSD-3-Clause",
"dependencies": {},
"dependencies": {
"fbjs": "^0.8.4",
"object-assign": "^4.1.0"
},
"peerDependencies": {
"react": "^15.4.1"
},
@@ -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": "^15.4.1"
},