Skip to content

Commit 93f315b

Browse files
committed
add prepublishOnly hooks
1 parent 3709ed5 commit 93f315b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/@headlessui-react/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"scripts": {
2323
"playground": "next dev",
2424
"playground:build": "next build",
25+
"prepublishOnly": "npm run build",
2526
"test": "../../scripts/test.sh",
2627
"build": "../../scripts/build.sh",
2728
"lint": "../../scripts/lint.sh"

packages/@headlessui-vue/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"scripts": {
2323
"playground": "vite serve examples",
2424
"playground:build": "NODE_ENV=production vite build examples",
25+
"prepublishOnly": "npm run build",
2526
"build": "../../scripts/build.sh",
2627
"test": "../../scripts/test.sh",
2728
"lint": "../../scripts/lint.sh"

0 commit comments

Comments
 (0)