Skip to content

Commit fa75078

Browse files
author
Fritz Lekschas
committed
Ensure the most up to date build is published
1 parent a330693 commit fa75078

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ghp": "npm run build; rm -rf ../regl-scatterplot-ghp/*; touch ../regl-scatterplot-ghp/.nojekyll; cp -r docs/* ../regl-scatterplot-ghp/",
2222
"lint": "eslint src tests rollup.config.js webpack.config.js",
2323
"precommit": "NODE_ENV=production lint-staged; npm run test",
24-
"prepublishOnly": "npm run test",
24+
"prepublishOnly": "npm run test; rm -rf dist/*; npm run build;",
2525
"prerelease": "rm -rf dist/*; npm run build; zip -r dist.zip dist",
2626
"pretest": "npm run lint",
2727
"start": "webpack-dev-server --config ./webpack.config.js --mode development --open",

0 commit comments

Comments
 (0)