|
17 | 17 | "make:dist": "mkdirp dist && browserify src/factory.js -o ./dist/create-plotly-component.js -t [ babelify --presets [ es2015 react ] --plugins add-module-exports ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./dist/create-plotly-component.js --compress --mangle --output ./dist/create-plotly-component.min.js --source-map filename=dist/create-plotly-component.min.js.map",
|
18 | 18 | "clean": "rimraf lib dist react-plotly.js react-plotly.js.map factory.js factory.js.map",
|
19 | 19 | "prepublishOnly": "npm run clean && npm run make:lib && npm run make:dist",
|
| 20 | + "prepare": "npm run clean && npm run make:lib && npm run make:dist", |
20 | 21 | "lint": "prettier --trailing-comma es5 --write \"src/**/*.js\" && eslint src",
|
21 | 22 | "test": "npm run lint && npm run deps && jest",
|
22 | 23 | "watch-test": "jest --watch",
|
|
0 commit comments