mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "@vitest/example-react-storybook",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"storybook": "start-storybook -p 6006"
|
|
},
|
|
"dependencies": {
|
|
"cross-fetch": "^3.1.5",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-query": "^3.39.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.2",
|
|
"@storybook/addon-actions": "^6.5.5",
|
|
"@storybook/addon-essentials": "^6.5.5",
|
|
"@storybook/addon-links": "^6.5.5",
|
|
"@storybook/builder-vite": "^0.1.35",
|
|
"@storybook/react": "^6.5.5",
|
|
"@storybook/testing-library": "^0.0.11",
|
|
"@storybook/testing-react": "^1.3.0",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^12.1.5",
|
|
"@types/react": "^17.0.45",
|
|
"@types/react-dom": "^17.0.17",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"@vitest/ui": "latest",
|
|
"babel-loader": "^8.2.5",
|
|
"jsdom": "latest",
|
|
"msw": "^0.39.2",
|
|
"msw-storybook-addon": "^1.6.3",
|
|
"typescript": "^4.7.2",
|
|
"vite": "latest",
|
|
"vitest": "latest"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": "public"
|
|
},
|
|
"stackblitz": {
|
|
"startCommand": "npm run test:ui"
|
|
}
|
|
}
|