mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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`
This commit is contained in:
committed by
Dan Abramov
parent
981f461b70
commit
7cd26024ce
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user