Skip to content

Commit 085711a

Browse files
committed
Use peerDependencies to specify the react versions
1 parent 223630f commit 085711a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-numeric-input",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "Number input component that can replace the native number input which is not yet very well supported and where it is, it does not have the same appearance across the browsers. Additionally this component offers more flexible options and can be used for any values (differently formatted representations of the internal numeric value).",
55
"main": "index.js",
66
"scripts": {
@@ -54,11 +54,12 @@
5454
"karma-webpack": "^1.7.0",
5555
"mocha": "^2.3.3",
5656
"phantomjs": "^1.9.18",
57+
"react": "^15.3.2",
58+
"react-dom": "^15.3.2",
5759
"react-addons-test-utils": "^15.3.2",
5860
"webpack": "^1.12.2"
5961
},
60-
"dependencies": {
61-
"react": "^15.3.2",
62-
"react-dom": "^15.3.2"
62+
"peerDependencies": {
63+
"react": ">=0.14.0 || ^15.2.1"
6364
}
6465
}

0 commit comments

Comments
 (0)