Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 275576e

Browse files
committed
add prepare script
1 parent 24bd223 commit 275576e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"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",
1818
"clean": "rimraf lib dist react-plotly.js react-plotly.js.map factory.js factory.js.map",
1919
"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",
2021
"lint": "prettier --trailing-comma es5 --write \"src/**/*.js\" && eslint src",
2122
"test": "npm run lint && npm run deps && jest",
2223
"watch-test": "jest --watch",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /