fix(ui): build scripts for the shui primitives

This commit is contained in:
charlie
2024-05-11 16:17:40 +08:00
parent 061700c6b1
commit aa38cd3a17
3 changed files with 3 additions and 6 deletions

View File

@@ -8,7 +8,8 @@
"build:ui:only": "parcel build --target ui",
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
"watch:storybook": "storybook dev -p 6006",
"preinstall": "cd primitives/ && yarn install && yarn build",
"install:primitives": "rm -rf primitives/ && git clone https://github.com/xyhp915/primitives.git --depth=1",
"preinstall": "yarn install:primitives && cd primitives/ && yarn install && yarn build",
"postinstall": "yarn build:ui"
},
"dependencies": {