|
9 | 9 | "lint": "eslint .", |
10 | 10 | "format": "prettier --write ./src index.html", |
11 | 11 | "format:check": "prettier --check ./src index.html", |
12 | | - "preview": "vite preview" |
| 12 | + "preview": "vite preview", |
| 13 | + "storybook": "storybook dev -p 6003 --no-open", |
| 14 | + "storybook:build": "storybook build", |
| 15 | + "test-storybook": "test-storybook", |
| 16 | + "test:storybook:update": "start-server-and-test 'pnpm storybook:serve' 6003 'pnpm test-storybook --url http://127.0.0.1:6003 -u'", |
| 17 | + "test:storybook": "start-server-and-test 'pnpm storybook:serve' 6003 'pnpm test-storybook --url http://127.0.0.1:6003'" |
13 | 18 | }, |
14 | 19 | "dependencies": { |
15 | 20 | "@bal7hazar/arcade-sdk": "^0.0.72", |
|
32 | 37 | }, |
33 | 38 | "devDependencies": { |
34 | 39 | "@cartridge/eslint": "workspace:*", |
| 40 | + "@storybook/addon-essentials": "catalog:", |
| 41 | + "@storybook/addon-themes": "catalog:", |
| 42 | + "@storybook/blocks": "catalog:", |
| 43 | + "@storybook/react": "catalog:", |
| 44 | + "@storybook/react-vite": "catalog:", |
| 45 | + "@storybook/test": "catalog:", |
| 46 | + "@storybook/test-runner": "catalog:", |
35 | 47 | "@types/lodash": "^4.17.13", |
36 | 48 | "@types/node": "catalog:", |
37 | 49 | "@types/react": "catalog:", |
|
43 | 55 | "postcss": "catalog:", |
44 | 56 | "postcss-import": "catalog:", |
45 | 57 | "prettier": "catalog:", |
| 58 | + "storybook": "catalog:", |
46 | 59 | "tailwindcss": "catalog:", |
47 | 60 | "typescript": "catalog:", |
48 | 61 | "typescript-eslint": "catalog:", |
|
0 commit comments