Skip to content

Commit b8833e9

Browse files
committed
Remove react from peer dependencies
Installing react-redux with React Native ends up installing web React because npm automatically installs peer dependencies (until npm 3.0 is here). Likewise it'd be noisy if react-native were listed under the peer dependencies when most people don't need it. One day this won't be an issue anymore React splits into three pieces -- react, react-dom, react-native w/react as an external dependency.
1 parent f0a6d82 commit b8833e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"invariant": "^2.0.0"
5858
},
5959
"peerDependencies": {
60-
"redux": "^1.0.0 || 1.0.0-alpha || 1.0.0-rc",
61-
"react": "^0.13.0 || 0.14.0-beta1"
60+
"redux": "^1.0.0 || 1.0.0-alpha || 1.0.0-rc"
6261
}
6362
}

0 commit comments

Comments
 (0)