|
5 | 5 | "scripts": { |
6 | 6 | "build": "next build", |
7 | 7 | "build:analyze": "cross-env ANALYZE=true next build", |
| 8 | + "chromatic": "chromatic --exit-zero-on-changes", |
8 | 9 | "dev": "next -p 3000", |
9 | 10 | "format": "prettier --write \"**/*\"", |
10 | 11 | "format:md": "prettier --write \"**/*.md\"", |
|
14 | 15 | "postbuild": "next-sitemap --config next-sitemap.config.ts", |
15 | 16 | "prepare": "husky", |
16 | 17 | "start": "next start -p 3000", |
| 18 | + "storybook": "storybook dev -p 6006 -c src/.storybook", |
| 19 | + "storybook:build": "storybook build -c src/.storybook", |
17 | 20 | "test:e2e": "export LOCAL_PLAYWRIGHT=true && playwright test --headed", |
18 | 21 | "test:e2e:debug": "pnpm test:e2e --debug", |
19 | 22 | "test:e2e:dev": "export LOCAL_PLAYWRIGHT=true && playwright test --ui", |
|
72 | 75 | "@faker-js/faker": "^10.4.0", |
73 | 76 | "@next/eslint-plugin-next": "^16.2.3", |
74 | 77 | "@playwright/test": "^1.59.1", |
| 78 | + "@storybook/addon-docs": "^10.3.5", |
| 79 | + "@storybook/nextjs": "^10.3.5", |
75 | 80 | "@svgr/webpack": "^8.1.0", |
76 | 81 | "@tailwindcss/postcss": "^4.2.2", |
77 | 82 | "@testing-library/jest-dom": "^6.9.1", |
|
90 | 95 | "@vitest/ui": "^4.1.4", |
91 | 96 | "axios-mock-adapter": "^2.1.0", |
92 | 97 | "babel-plugin-react-compiler": "^1.0.0", |
| 98 | + "chromatic": "^16.2.0", |
93 | 99 | "cross-env": "^10.1.0", |
94 | 100 | "dotenv": "^17.4.1", |
95 | 101 | "eslint": "^10.2.0", |
|
103 | 109 | "eslint-plugin-prettier": "^5.5.5", |
104 | 110 | "eslint-plugin-react-hooks": "^7.0.1", |
105 | 111 | "eslint-plugin-react-you-might-not-need-an-effect": "^0.9.3", |
| 112 | + "eslint-plugin-storybook": "^10.3.5", |
106 | 113 | "eslint-plugin-unicorn": "^64.0.0", |
107 | 114 | "husky": "^9.1.7", |
108 | 115 | "jsdom": "^29.0.2", |
|
111 | 118 | "prettier": "^3.8.2", |
112 | 119 | "prettier-plugin-tailwindcss": "^0.7.2", |
113 | 120 | "shadcn": "^4.2.0", |
| 121 | + "storybook": "^10.3.5", |
114 | 122 | "tailwindcss": "^4.2.2", |
115 | 123 | "typescript": "^6.0.2", |
116 | 124 | "typescript-eslint": "^8.58.1", |
|
0 commit comments