mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
33 lines
809 B
JSON
33 lines
809 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": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^12.1.5",
|
|
"@testing-library/react-hooks": "^8.0.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/react": "^17.0.44",
|
|
"@types/react-dom": "^17.0.16",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"@vitest/ui": "latest",
|
|
"jsdom": "latest",
|
|
"vite": "^2.9.5",
|
|
"vitest": "latest"
|
|
},
|
|
"stackblitz": {
|
|
"startCommand": "npm run test:ui"
|
|
}
|
|
}
|