mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
34 lines
828 B
JSON
34 lines
828 B
JSON
{
|
|
"name": "@vitest/example-testing-lib-react",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc && vite build",
|
|
"coverage": "vitest run --coverage",
|
|
"dev": "vite",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/react": "^18.0.24",
|
|
"@types/react-dom": "^18.0.8",
|
|
"@vitejs/plugin-react": "latest",
|
|
"@vitest/coverage-c8": "^0.24.5",
|
|
"@vitest/ui": "latest",
|
|
"jsdom": "latest",
|
|
"typescript": "^4.8.4",
|
|
"vite": "latest",
|
|
"vitest": "latest"
|
|
},
|
|
"stackblitz": {
|
|
"startCommand": "npm run test:ui"
|
|
}
|
|
}
|