Skip to content

Commit 0323798

Browse files
author
Paul Marbach
committed
fix(create-web-scripts-library): add prepublish to release
prepublishOnly needs to trigger a build
1 parent 5a76a47 commit 0323798

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/create-web-scripts-library/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"scripts": {
2727
"test": "web-scripts test",
2828
"build": "web-scripts build",
29-
"lint": "web-scripts lint"
29+
"lint": "web-scripts lint",
30+
"prepublishOnly": "$npm_execpath run build"
3031
},
3132
"bugs": {
3233
"url": "https://github.com/spotify/web-scripts/issues"

0 commit comments

Comments
 (0)