|
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 | + "storybook:serve": "pnpm storybook:build --quiet && pnpm http-server -c-1 storybook-static --port 6003 --silent", |
| 16 | + "test-storybook": "test-storybook --testTimeout=60000", |
| 17 | + "test:storybook:update": "start-server-and-test 'pnpm storybook:serve' 6003 'pnpm test-storybook --url http://127.0.0.1:6003 -u'", |
| 18 | + "test:storybook": "start-server-and-test 'pnpm storybook:serve' 6003 'pnpm test-storybook --url http://127.0.0.1:6003'" |
13 | 19 | }, |
14 | 20 | "dependencies": { |
15 | 21 | "@bal7hazar/arcade-sdk": "^0.0.73", |
|
18 | 24 | "@cartridge/ui-next": "workspace:*", |
19 | 25 | "@cartridge/utils": "workspace:*", |
20 | 26 | "compare-versions": "^6.1.1", |
21 | | - "lodash": "^4.17.21", |
| 27 | + "lodash": "catalog:", |
22 | 28 | "posthog-js": "^1.181.0", |
23 | 29 | "react": "catalog:", |
24 | 30 | "react-dom": "catalog:", |
|
32 | 38 | }, |
33 | 39 | "devDependencies": { |
34 | 40 | "@cartridge/eslint": "workspace:*", |
35 | | - "@types/lodash": "^4.17.13", |
| 41 | + "@storybook/addon-essentials": "catalog:", |
| 42 | + "@storybook/addon-themes": "catalog:", |
| 43 | + "@storybook/blocks": "catalog:", |
| 44 | + "@storybook/react": "catalog:", |
| 45 | + "@storybook/react-vite": "catalog:", |
| 46 | + "@storybook/test": "catalog:", |
| 47 | + "@storybook/test-runner": "catalog:", |
| 48 | + "@types/lodash": "catalog:", |
36 | 49 | "@types/node": "catalog:", |
37 | 50 | "@types/react": "catalog:", |
38 | 51 | "@types/react-dom": "catalog:", |
39 | 52 | "@vitejs/plugin-react-swc": "catalog:", |
40 | 53 | "autoprefixer": "catalog:", |
41 | 54 | "eslint": "catalog:", |
42 | 55 | "globals": "catalog:", |
| 56 | + "http-server": "catalog:", |
43 | 57 | "postcss": "catalog:", |
44 | 58 | "postcss-import": "catalog:", |
45 | 59 | "prettier": "catalog:", |
| 60 | + "start-server-and-test": "catalog:", |
| 61 | + "storybook": "catalog:", |
46 | 62 | "tailwindcss": "catalog:", |
47 | 63 | "typescript": "catalog:", |
48 | 64 | "typescript-eslint": "catalog:", |
49 | | - "vite": "catalog:" |
| 65 | + "vite": "catalog:", |
| 66 | + "vite-tsconfig-paths": "catalog:" |
50 | 67 | } |
51 | 68 | } |
0 commit comments