mirror of
https://github.com/ershisan99/lib-live-03-07.git
synced 2026-02-05 05:12:07 +00:00
working storybook
This commit is contained in:
19
package.json
19
package.json
@@ -7,7 +7,9 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
},
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.js",
|
||||
@@ -23,13 +25,24 @@
|
||||
"default": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"./css": "./dist/style.css"
|
||||
"./style.css": "./dist/style.css"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ladle/react": "^4.1.0",
|
||||
"clsx": "^2.1.1",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chromatic-com/storybook": "^1.6.1",
|
||||
"@storybook/addon-essentials": "^8.2.7",
|
||||
"@storybook/addon-interactions": "^8.2.7",
|
||||
"@storybook/addon-links": "^8.2.7",
|
||||
"@storybook/addon-onboarding": "^8.2.7",
|
||||
"@storybook/blocks": "^8.2.7",
|
||||
"@storybook/react": "^8.2.7",
|
||||
"@storybook/react-vite": "^8.2.7",
|
||||
"@storybook/test": "^8.2.7",
|
||||
"@types/node": "^22.1.0",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
@@ -39,7 +52,9 @@
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.7",
|
||||
"eslint-plugin-storybook": "^0.8.0",
|
||||
"prettier": "^3.3.3",
|
||||
"storybook": "^8.2.7",
|
||||
"typescript": "5.4.2",
|
||||
"vite": "^5.3.4",
|
||||
"vite-plugin-dts": "4.0.0-beta.2"
|
||||
|
||||
Reference in New Issue
Block a user