feat: Storybook for Vite (#52)
* feat: storybook * feat: option to add figma links * refactor: resolve pr comments * chore: fix storybook build --------- Co-authored-by: Sriram Hariharan <sghsri@gmail.com>
This commit is contained in:
18
package.json
18
package.json
@@ -12,7 +12,9 @@
|
||||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
"devtools": "react-devtools",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/sql.js": "^1.4.9",
|
||||
@@ -30,6 +32,13 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@crxjs/vite-plugin": "2.0.0-beta.21",
|
||||
"@storybook/addon-designs": "^7.0.9",
|
||||
"@storybook/addon-essentials": "^7.6.11",
|
||||
"@storybook/addon-links": "^7.6.11",
|
||||
"@storybook/blocks": "^7.6.11",
|
||||
"@storybook/react": "^7.6.11",
|
||||
"@storybook/react-vite": "^7.6.11",
|
||||
"@storybook/test": "^7.6.11",
|
||||
"@types/chrome": "^0.0.254",
|
||||
"@types/node": "^20.10.5",
|
||||
"@types/prompts": "^2.4.9",
|
||||
@@ -46,21 +55,24 @@
|
||||
"es-module-lexer": "^1.4.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-airbnb-typescript": "^17.1.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-jsdoc": "^46.9.1",
|
||||
"eslint-plugin-prettier": "^5.1.1",
|
||||
"eslint-plugin-jsdoc": "^46.10.1",
|
||||
"eslint-plugin-prettier": "^5.1.2",
|
||||
"eslint-plugin-react": "^7.33.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-prefer-function-component": "^3.3.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.5",
|
||||
"eslint-plugin-storybook": "^0.6.15",
|
||||
"path": "^0.12.7",
|
||||
"postcss": "^8.4.32",
|
||||
"prettier": "^3.1.1",
|
||||
"react-dev-utils": "^12.0.1",
|
||||
"react-devtools": "^4.27.1",
|
||||
"storybook": "^7.6.11",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.0.10",
|
||||
"vite-plugin-inspect": "^0.8.1"
|
||||
|
||||
Reference in New Issue
Block a user