Skip to content

Commit

Permalink
chore: storybook settings
Browse files Browse the repository at this point in the history
  • Loading branch information
se0kcess committed Nov 25, 2024
1 parent e078d69 commit b9c3ea4
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 867 deletions.
18 changes: 6 additions & 12 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
import type { StorybookConfig } from "@storybook/react-vite";
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],

addons: [
"@storybook/addon-onboarding",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
"@storybook/addon-mdx-gfm"
],
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions'],

framework: {
name: "@storybook/react-vite",
name: '@storybook/react-vite',
options: {},
},

docs: {},

typescript: {
reactDocgen: "react-docgen-typescript"
}
reactDocgen: 'react-docgen-typescript',
},
};
export default config;
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "web1_1_13_q-feed",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down Expand Up @@ -41,8 +42,6 @@
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/addon-links": "^8.4.5",
"@storybook/addon-mdx-gfm": "^8.4.5",
"@storybook/addon-onboarding": "^8.4.5",
"@storybook/blocks": "^8.4.5",
"@storybook/react": "^8.4.5",
"@storybook/react-vite": "^8.4.5",
Expand Down
Loading

0 comments on commit b9c3ea4

Please sign in to comment.