feat: add storybook

This commit is contained in:
2024-10-19 08:31:14 +08:00
parent 8e7277022b
commit a7144104e8
37 changed files with 11148 additions and 2 deletions

View File

@@ -3,10 +3,25 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"dev": "storybook dev -p 6006",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"keywords": [],
"author": "",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"@chromatic-com/storybook": "^2.0.2",
"@storybook/addon-essentials": "^8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.3.6",
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
"@storybook/blocks": "^8.3.6",
"@storybook/html": "^8.3.6",
"@storybook/html-webpack5": "^8.3.6",
"@storybook/test": "^8.3.6",
"storybook": "^8.3.6"
}
}