e50b3c76c5
- Add vitest, @testing-library/react, @testing-library/jest-dom, jsdom, @vitejs/plugin-react as dev deps - Create vitest.config.ts with jsdom environment and @ path alias - Create test setup file importing jest-dom/vitest matchers - Add test scripts to apps/web and root package.json - Add test task to turbo.json pipeline
25 lines
452 B
JSON
25 lines
452 B
JSON
{
|
|
"$schema": "https://turborepo.dev/schema.json",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", ".next/**"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"lint": {
|
|
"outputs": []
|
|
},
|
|
"test": {
|
|
"outputs": []
|
|
},
|
|
"type-check": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": []
|
|
}
|
|
}
|
|
}
|