|
22 | 22 | } |
23 | 23 | }, |
24 | 24 | "scripts": { |
| 25 | + "playwright-install": "", |
25 | 26 | "prep:types": "tsc --emitDeclarationOnly", |
26 | 27 | "prep:scripts": "swc ./src -d ./build", |
27 | 28 | "prep:fonts": "mkdir -p build && node preloaded-fonts.js", |
|
33 | 34 | "dev": "storybook dev -p 6006 --no-open", |
34 | 35 | "start": "serve storybook-static -p 6006 > /dev/null 2>&1", |
35 | 36 | "test:static": "tsc --noEmit && eslint . --quiet", |
36 | | - "test:unit": "vitest run --passWithNoTests", |
37 | | - "test:storybook": "test-storybook --coverage", |
38 | | - "test:integration": "start-test start http://localhost:6006 test:storybook && pnpm report", |
| 37 | + "test:unit": "vitest run --project=unit --passWithNoTests", |
| 38 | + "test:integration": "playwright install chromium && vitest run --project=storybook --passWithNoTests", |
39 | 39 | "report": "mkdir -p coverage/storybook && nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook" |
40 | 40 | }, |
41 | 41 | "dependencies": { |
|
72 | 72 | "@storybook/addon-actions": "^8.5.2", |
73 | 73 | "@storybook/addon-coverage": "^1.0.5", |
74 | 74 | "@storybook/addon-essentials": "^8.5.2", |
75 | | - "@storybook/addon-interactions": "^8.5.2", |
76 | 75 | "@storybook/addon-links": "^8.5.2", |
77 | 76 | "@storybook/addon-mdx-gfm": "^8.5.2", |
78 | 77 | "@storybook/blocks": "^8.5.2", |
| 78 | + "@storybook/experimental-addon-test": "^8.5.2", |
79 | 79 | "@storybook/react": "^8.5.2", |
80 | 80 | "@storybook/react-vite": "^8.5.2", |
81 | 81 | "@storybook/test": "^8.5.2", |
|
92 | 92 | "@types/react-body-classname": "^1.1.10", |
93 | 93 | "@types/react-dom": "^18.2.18", |
94 | 94 | "@vitejs/plugin-react-swc": "^3.5.0", |
| 95 | + "@vitest/browser": "3.0.4", |
| 96 | + "@vitest/coverage-v8": "3.0.4", |
95 | 97 | "autoprefixer": "^10.4.16", |
96 | | - "axe-playwright": "^2.0.1", |
97 | 98 | "cssnano": "^6.0.3", |
98 | 99 | "happy-dom": "^12.10.3", |
99 | 100 | "nyc": "^15.1.0", |
| 101 | + "playwright": "^1.50.0", |
100 | 102 | "postcss": "^8.4.32", |
101 | 103 | "postcss-cli": "^11.0.0", |
102 | 104 | "postcss-import": "^16.0.0", |
|
111 | 113 | "typescript": "^5.3.3", |
112 | 114 | "vite": "^5.0.10", |
113 | 115 | "vite-imagetools": "^6.2.9", |
114 | | - "vitest": "^1.1.1" |
| 116 | + "vitest": "^3.0.4" |
115 | 117 | } |
116 | 118 | } |
0 commit comments