2022-05-03 05:20:44 +08:00

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"
}
}