Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: update npm scripts for storybook

白熱3605211ea862
diff --git a/common/storybook/package.json b/common/storybook/package.json
index c3808da13c..37f5a4ea65 100644
--- a/common/storybook/package.json
+++ b/common/storybook/package.json
@@ -12,8 +12,8 @@
},
"keywords": [],
"scripts": {
- "dev": "storybook dev -p 6006 --no-open",
- "build": "storybook build"
+ "dev:storybook": "storybook dev -p 6006 --no-open",
+ "build:storybook": "storybook build"
},
"dependencies": {
"@chromatic-com/storybook": "^1.5.0",
diff --git a/package.json b/package.json
index 833a55dde6..49db877f61 100644
--- a/package.json
+++ b/package.json
@@ -37,8 +37,8 @@
"test:e2e": "playwright test",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
- "storybook:dev": "pnpm --filter @univerjs/storybook dev",
- "storybook:build": "pnpm --filter @univerjs/storybook build",
+ "storybook:dev": "pnpm --filter @univerjs/storybook dev:storybook",
+ "storybook:build": "pnpm --filter @univerjs/storybook build:storybook",
"release": "release-it",
"release:alpha": "release-it preminor --preRelease=alpha",
"release:beta": "release-it preminor --preRelease=beta",