Skip to content

Commit a0112b9

Browse files
committed
Fix package.json for consumers
1 parent e00173d commit a0112b9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"url": "https://github.com/plotly/react-plotly.js-editor/issues"
88
},
99
"dependencies": {
10+
"classnames": "^2.2.5",
1011
"draft-js": "^0.10.4",
1112
"draft-js-export-html": "github:plotly/draft-js-export-html",
1213
"draft-js-import-html": "^1.2.1",
@@ -18,10 +19,9 @@
1819
"plotly.js": "^1.33.0",
1920
"prop-types": "^15.5.10",
2021
"raf": "^3.4.0",
21-
"react": "^16.2.0",
2222
"react-color": "^2.13.8",
2323
"react-colorscales": "^0.4.2",
24-
"react-dom": "^16.2.0",
24+
"react-plotly.js": "^1.6.0",
2525
"react-rangeslider": "^2.2.0",
2626
"react-select": "^1.0.0-rc.10",
2727
"react-tabs": "^2.2.1",
@@ -41,7 +41,6 @@
4141
"babel-preset-stage-2": "^6.24.1",
4242
"babel-traverse": "^6.26.0",
4343
"canvas": "^1.6.9",
44-
"classnames": "^2.2.5",
4544
"css-loader": "^0.28.9",
4645
"cssnano": "^3.10.0",
4746
"enzyme": "^3.1.0",
@@ -62,14 +61,19 @@
6261
"postcss-custom-properties": "^6.2.0",
6362
"postcss-remove-root": "^0.0.2",
6463
"prettier": "^1.9.2",
64+
"react": "^16.0.0",
65+
"react-dom": "^16.0.0",
6566
"react-hot-loader": "^4.0.0-beta.21",
66-
"react-plotly.js": "^1.6.0",
6767
"react-test-renderer": "^16.2.0",
6868
"sass-loader": "^6.0.6",
6969
"style-loader": "^0.19.1",
7070
"webpack": "^3.10.0",
7171
"webpack-dev-server": "^2.11.1"
7272
},
73+
"peerDependencies": {
74+
"react": ">15",
75+
"react-dom": ">15"
76+
},
7377
"homepage": "https://plotly.github.io/react-plotly.js-editor/",
7478
"jest": {
7579
"roots": [
@@ -92,10 +96,6 @@
9296
],
9397
"license": "MIT",
9498
"main": "lib/index.js",
95-
"peerDependencies": {
96-
"react": "^15.3.0 || ^16.0.0-rc || ^16.0",
97-
"react-dom": "^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0"
98-
},
9999
"repository": {
100100
"type": "git",
101101
"url": "https://github.com/plotly/react-plotly.js-editor.git"

0 commit comments

Comments
 (0)