Skip to content

Commit

Permalink
Run tailwind in watch mode (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cungminh2710 authored May 8, 2024
1 parent 041938b commit 1cd0645
Show file tree
Hide file tree
Showing 4 changed files with 680 additions and 609 deletions.
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ pnpm-lock.yaml
storybook-static
.drawio
**/.next/
**/dist/
**/dist/

tailwind.css
5 changes: 3 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"scripts": {
"lint": "eslint . --max-warnings 0",
"generate:component": "turbo gen react-component",
"dev": "pnpm run tailwind && storybook dev -p 6006",
"dev": "concurrently \"pnpm run tailwind\" \"storybook dev -p 6006\"",
"build-storybook": "storybook build",
"tailwind": "tailwindcss -i ./src/styles/global.css -o ./src/styles/tailwind.css"
"tailwind": "tailwindcss -i ./src/styles/global.css -o ./src/styles/tailwind.css --watch"
},
"devDependencies": {
"@chromatic-com/storybook": "1.3.4",
Expand All @@ -27,6 +27,7 @@
"@types/node": "20.12.07",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-plugin-storybook": "0.8.0",
"react": "18.3.1",
Expand Down
Loading

0 comments on commit 1cd0645

Please sign in to comment.