2022-01-14 11:45:41 +08:00

45 lines
1.2 KiB
JSON

{
"name": "@vitest/react-storybook-testing",
"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.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query": "^3.34.8"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@storybook/addon-actions": "^6.4.12",
"@storybook/addon-essentials": "^6.4.12",
"@storybook/addon-links": "^6.4.12",
"@storybook/react": "^6.4.12",
"@storybook/testing-library": "^0.0.7",
"@storybook/testing-react": "^1.2.3",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-react": "^1.1.4",
"@vitest/ui": "latest",
"babel-loader": "^8.2.3",
"jsdom": "^19.0.0",
"msw": "^0.36.4",
"msw-storybook-addon": "^1.5.0",
"storybook-builder-vite": "^0.1.13",
"typescript": "^4.5.4",
"vite": "latest",
"vitest": "latest"
},
"msw": {
"workerDirectory": "public"
}
}