Skip to content

Commit 077b19a

Browse files
committed
Build package on prepublishOnly
1 parent e43fcd8 commit 077b19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"test": "ava --fail-fast",
3333
"cleanup": "npx del-cli @type \"lib/**/*.js\"",
3434
"postinstall": "husky install",
35-
"prepublishOnly": "pinst --disable",
35+
"prepublishOnly": "npm run cleanup && npm run build && pinst --disable",
3636
"postpublish": "pinst --enable"
3737
},
3838
"author": "Nick K.",

0 commit comments

Comments
 (0)