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`
Kurt Weiberth committed
Dec 1, 2016 at 08:37 UTC
7cd26024ceffafc61a744325ef71b583db2ac1cd
2 files changed
+8
-1
packages/react-addons/package.json
+4
-1
@@ -8,7 +8,10 @@
8
"react-addon"
9
],
10
"license": "BSD-3-Clause",
11
- "dependencies": {},
11
+ "dependencies": {
12
+ "fbjs": "^0.8.4",
13
+ "object-assign": "^4.1.0"
14
+ },
15
"peerDependencies": {
16
"react": "^16.0.0-alpha"
17
},
packages/react-test-renderer/package.json
+4
@@ -14,6 +14,10 @@
14
"url": "https://github.com/facebook/react/issues"
15
},
16
"homepage": "https://facebook.github.io/react/",
17
+ "dependencies": {
18
+ "fbjs": "^0.8.4",
19
+ "object-assign": "^4.1.0"
20
+ },
21
"peerDependencies": {
22
"react": "^16.0.0-alpha"
23
},