Skip to content

Commit 68507fa

Browse files
committed
chore: add prepublishOnly
Make sure we always build before publishing.
1 parent 48544e2 commit 68507fa

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
@@ -22,6 +22,7 @@
2222
"repository": "github:SignalK/instrumentpanel.git",
2323
"scripts": {
2424
"start": "node server.js",
25+
"prepublishOnly": "npm run build",
2526
"build": "webpack -p --progress",
2627
"build-debug": "webpack -d --devtool cheap-module-source-map --progress",
2728
"watch": "webpack -d --watch",

0 commit comments

Comments
 (0)