Skip to content

Commit

Permalink
ci: modify npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
luohuidong committed Mar 13, 2024
1 parent 8fabbe2 commit ad6828e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
"types": "dist/index.d.ts",
"scripts": {
"dev": "storybook dev -p 6006 --no-open",
"build": "run-p build:type build:lib",
"build:type": "vue-tsc --declaration --emitDeclarationOnly --project tsconfig.prod.json",
"build:lib": "vite build",
"type:check": "vue-tsc --noEmit --project tsconfig.prod.json",
"build": "run-p build-type build-lib",
"build-type": "vue-tsc --declaration --emitDeclarationOnly --project tsconfig.prod.json",
"build-lib": "vite build",
"build-storybook": "storybook build",
"build-icons": "node scripts/generate-icons/generate.cjs",
"check-type": "vue-tsc --noEmit --project tsconfig.prod.json",
"test": "vitest run",
"test:dev": "vitest dev",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"storybook:dev": "storybook dev -p 6006 --no-open",
"storybook:build": "storybook build",
"icons:generate": "node scripts/generate-icons/generate.cjs"
"test-dev": "vitest dev",
"test-ui": "vitest --ui",
"test-coverage": "vitest run --coverage"
},
"license": "MIT",
"description": "Unify UI is a UI library for Vue.js 3.",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-storybook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

./scripts/build.sh

pnpm -r storybook:build
pnpm -r build-storybook

0 comments on commit ad6828e

Please sign in to comment.