Skip to content

Commit

Permalink
add dependencies to react-test-renderer and react-addons (#8467)
Browse files Browse the repository at this point in the history
**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 7cd2602)
  • Loading branch information
kweiberth authored and gaearon committed Jan 6, 2017
1 parent 5216190 commit 3ec576e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react-addons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 3ec576e

Please sign in to comment.