lesson 1, chapter 2: storybook setup

This commit is contained in:
2023-07-28 14:00:44 +02:00
parent fce68243c3
commit 123e60e898
35 changed files with 6280 additions and 7 deletions

View File

@@ -8,9 +8,12 @@
"build": "tsc && vite build",
"preview": "vite preview",
"format": "prettier --write src",
"lint": "eslint --fix src/**/*.{tsx,ts,jsx,js} --no-error-on-unmatched-pattern && stylelint --fix src/{,*/}*.{scss,css} --allow-empty-input"
"lint": "eslint --fix src/**/*.{tsx,ts,jsx,js} --no-error-on-unmatched-pattern && stylelint --fix src/{,*/}*.{scss,css} --allow-empty-input",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@fontsource/roboto": "^5.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
@@ -18,6 +21,14 @@
"@it-incubator/eslint-config": "^0.1.3",
"@it-incubator/prettier-config": "^0.1.2",
"@it-incubator/stylelint-config": "^0.1.5",
"@storybook/addon-essentials": "^7.1.1",
"@storybook/addon-interactions": "^7.1.1",
"@storybook/addon-links": "^7.1.1",
"@storybook/addon-onboarding": "^1.0.8",
"@storybook/blocks": "^7.1.1",
"@storybook/react": "^7.1.1",
"@storybook/react-vite": "^7.1.1",
"@storybook/testing-library": "^0.2.0",
"@types/node": "^20.4.5",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
@@ -27,7 +38,9 @@
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"eslint-plugin-storybook": "^0.6.13",
"sass": "^1.64.1",
"storybook": "^7.1.1",
"stylelint": "^15.10.2",
"typescript": "^5.0.2",
"vite": "^4.4.5"