feat(frontend): added storybook with tailwind integration

chore(frontend): added some required radix components
This commit is contained in:
akhilmhdh
2023-01-18 23:45:54 +05:30
parent 3a6b2084bc
commit 83899bebc8
8 changed files with 24237 additions and 146 deletions
+24 -1
View File
@@ -7,7 +7,9 @@
"start": "next start",
"start:docker": "next build && next start",
"lint": "eslint --fix --ext js,ts,tsx ./src",
"type-check": "tsc --project tsconfig.json"
"type-check": "tsc --project tsconfig.json",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@emotion/css": "^11.10.0",
@@ -18,6 +20,15 @@
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/react-fontawesome": "^0.1.19",
"@headlessui/react": "^1.6.6",
"@radix-ui/react-accordion": "^1.1.0",
"@radix-ui/react-alert-dialog": "^1.0.2",
"@radix-ui/react-dialog": "^1.0.2",
"@radix-ui/react-label": "^2.0.0",
"@radix-ui/react-popover": "^1.0.3",
"@radix-ui/react-progress": "^1.0.1",
"@radix-ui/react-select": "^1.2.0",
"@radix-ui/react-switch": "^1.0.1",
"@radix-ui/react-toast": "^1.1.2",
"@reduxjs/toolkit": "^1.8.3",
"@stripe/react-stripe-js": "^1.10.0",
"@stripe/stripe-js": "^1.46.0",
@@ -51,6 +62,7 @@
"set-cookie-parser": "^2.5.1",
"sharp": "^0.31.2",
"styled-components": "^5.3.5",
"tailwind-merge": "^1.8.1",
"tweetnacl": "^1.0.3",
"tweetnacl-util": "^0.15.1",
"uuid": "^8.3.2",
@@ -58,6 +70,14 @@
"yaml": "^2.2.0"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.0.0-beta.30",
"@storybook/addon-interactions": "^7.0.0-beta.30",
"@storybook/addon-links": "^7.0.0-beta.30",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/blocks": "^7.0.0-beta.30",
"@storybook/nextjs": "^7.0.0-beta.30",
"@storybook/react": "^7.0.0-beta.30",
"@storybook/testing-library": "^0.0.13",
"@tailwindcss/typography": "^0.5.4",
"@types/jsrp": "^0.2.4",
"@types/node": "18.11.9",
@@ -77,8 +97,11 @@
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-storybook": "^0.6.10",
"postcss": "^8.4.14",
"prettier": "^2.8.3",
"storybook": "^7.0.0-beta.30",
"storybook-dark-mode": "^2.0.5",
"tailwindcss": "^3.1.4",
"typescript": "^4.9.3"
}