Skip to content

Commit 1ed4eee

Browse files
committed
Remove prepublish script
1 parent 8a3f8a2 commit 1ed4eee

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/index.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"example:deploy": "netlify deploy example/dist",
2222
"make:lib": "mkdir -p lib && babel src --out-dir lib --presets=es2015,react --source-maps --plugins babel-plugin-add-module-exports",
2323
"make:build": "mkdir -p build && browserify src/plotly.js-react-editor.js -o ./build/plotly.js-react-editor.js -t [ babelify --presets [ es2015 react ] ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./build/plotly.js-react-editor.js --compress --mangle --output ./build/plotly.js-react-editor.min.js --source-map filename=build/plotly.js-react-editor.min.js.map",
24-
"prepublish": "npm run make:lib && npm run make:build",
24+
"prepublishOnly": "npm run make:lib && npm run make:build",
2525
"lint": "prettier --trailing-comma es5 --write \"{src,example/src}/**/*.{js,jsx}\"",
2626
"precommit": "lint-staged",
2727
"test": "jest",

0 commit comments

Comments
 (0)