Skip to content

Commit 06d920e

Browse files
committed
chore(*): Add prepublishOnly package scripts
1 parent 62e0c7e commit 06d920e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"scripts": {
1111
"dev": "vite",
1212
"build": "vite build",
13-
"serve": "vite preview"
13+
"serve": "vite preview",
14+
"prepublishOnly": "yarn build"
1415
},
1516
"devDependencies": {
1617
"@types/color-rgba": "^2.1.0",

packages/react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"serve": "vite preview",
2020
"lint": "eslint . --ext js,ts,tsx",
2121
"storybook": "start-storybook -p 6007",
22-
"build-storybook": "build-storybook"
22+
"build-storybook": "build-storybook",
23+
"prepublishOnly": "yarn build"
2324
},
2425
"dependencies": {
2526
"@discord-message-components/core": "^0.1.0"

packages/vue/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"serve": "vite preview",
2020
"lint": "eslint . --ext js,ts,tsx,vue",
2121
"storybook": "start-storybook -p 6006",
22-
"build-storybook": "build-storybook"
22+
"build-storybook": "build-storybook",
23+
"prepublishOnly": "yarn build"
2324
},
2425
"dependencies": {
2526
"@discord-message-components/core": "^0.1.0"

0 commit comments

Comments
 (0)