We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 679345f commit 40dfac1Copy full SHA for 40dfac1
package.json
@@ -58,7 +58,7 @@
58
"mkdirp": "^1.0.4",
59
"nodemon": "^2.0.6",
60
"onetime": "^5.1.2",
61
- "plotly.js": "^1.35.0",
+ "plotly.js-dist": "^2.0.0",
62
"prettier": "^2.2.1",
63
"react": "^16.13.1",
64
"react-addons-test-utils": "^15.6.0",
@@ -69,7 +69,7 @@
69
"uglify-js": "^3.12.1"
70
},
71
"peerDependencies": {
72
- "plotly.js": ">1.34.0",
+ "plotly.js-dist": ">=2.0.0",
73
"react": ">0.13.0"
74
75
"browserify-global-shim": {
src/react-plotly.js
@@ -1,5 +1,5 @@
1
import plotComponentFactory from './factory';
2
-import Plotly from 'plotly.js/dist/plotly';
+import Plotly from 'plotly.js-dist';
3
4
const PlotComponent = plotComponentFactory(Plotly);
5
0 commit comments