Skip to content

Commit 538cd75

Browse files
author
Takeharu Oshida
committed
Fix #35 Improve package.json
1 parent 559e2c7 commit 538cd75

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"babel-cli": "^6.3.17",
3333
"babel-core": "^6.3.21",
3434
"babel-eslint": "^8.0.2",
35+
"babel-preset-env": "^1.6.1",
3536
"babel-preset-react": "^6.3.13",
3637
"babelify": "^8.0.0",
3738
"browser-sync": "^2.10.1",
@@ -51,17 +52,13 @@
5152
"mocha": "^4.0.1",
5253
"prop-types": "^15.5.8",
5354
"react-addons-test-utils": "^0.14.3 || ^15.0.1",
54-
"react-dom": "^16.2.0",
55+
"react-dom": "^0.14.3 || ^15.0.1 || ^16.2.0",
5556
"rimraf": "^2.4.4",
5657
"sinon": "^4.1.2",
5758
"watchify": "^3.6.1"
5859
},
59-
"dependencies": {
60-
"babel-preset-env": "^1.6.1",
61-
"react": "^16.2.0"
62-
},
6360
"peerDependencies": {
64-
"react": "^16.2.0"
61+
"react": "^0.14.3 || ^15.0.1 || ^16.2.0"
6562
},
6663
"browserify": {
6764
"transform": [

yarn.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3667,7 +3667,7 @@ rc@^1.1.7:
36673667
version "15.6.2"
36683668
resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.2.tgz#c12b6efdc2247c10da7b8770d185080a7b047156"
36693669

3670-
react-dom@^16.2.0:
3670+
"react-dom@^0.14.3 || ^15.0.1 || ^16.2.0":
36713671
version "16.2.0"
36723672
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044"
36733673
dependencies:
@@ -3676,15 +3676,6 @@ react-dom@^16.2.0:
36763676
object-assign "^4.1.1"
36773677
prop-types "^15.6.0"
36783678

3679-
react@^16.2.0:
3680-
version "16.2.0"
3681-
resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba"
3682-
dependencies:
3683-
fbjs "^0.8.16"
3684-
loose-envify "^1.1.0"
3685-
object-assign "^4.1.1"
3686-
prop-types "^15.6.0"
3687-
36883679
read-only-stream@^2.0.0:
36893680
version "2.0.0"
36903681
resolved "https://registry.yarnpkg.com/read-only-stream/-/read-only-stream-2.0.0.tgz#2724fd6a8113d73764ac288d4386270c1dbf17f0"

0 commit comments

Comments
 (0)