|
14 | 14 | "scripts": { |
15 | 15 | "build": "rimraf dist/ && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.web.json", |
16 | 16 | "pretest": "npm run build", |
17 | | - "test": "echo \"It built ok, that'll do for now\"", |
| 17 | + "test": "vitest --run", |
18 | 18 | "prepare": "npm run build", |
19 | 19 | "storybook": "storybook dev -p 6006", |
20 | 20 | "build-storybook": "storybook build -o examples" |
|
42 | 42 | "@storybook/addon-docs": "^9.1.10", |
43 | 43 | "@storybook/react": "^9.1.10", |
44 | 44 | "@storybook/react-vite": "^9.1.10", |
| 45 | + "@testing-library/react": "^16.3.0", |
45 | 46 | "@types/events": "^3.0.0", |
46 | 47 | "@types/node": "^24.6.2", |
47 | 48 | "@types/react": "^18.3.1", |
48 | 49 | "@types/react-dom": "^18.3.1", |
49 | 50 | "@vitejs/plugin-react": "^5.0.4", |
| 51 | + "@vitest/browser": "^3.2.4", |
| 52 | + "playwright": "^1.55.1", |
50 | 53 | "react": "^18.3.1", |
51 | 54 | "react-dom": "^18.3.1", |
52 | 55 | "rimraf": "^3.0.0", |
53 | 56 | "storybook": "^9.1.10", |
54 | 57 | "typescript": "^5.9.3", |
55 | 58 | "vite": "^7.1.8", |
56 | | - "vite-plugin-checker": "^0.11.0" |
| 59 | + "vite-plugin-checker": "^0.11.0", |
| 60 | + "vitest": "^3.2.4" |
57 | 61 | }, |
58 | 62 | "peerDependencies": { |
59 | 63 | "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", |
|
0 commit comments