mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-27 02:31:34 +00:00
- Add Jest testing framework with React Testing Library - Configure Playwright for E2E testing - Add TypeScript strict mode configuration - Implement unit tests for common components (LanguageTag, WorkCard) - Add Babel configuration for testing compatibility - Update Vite config for better production builds - Add comprehensive type definitions for testing libraries - Configure test scripts and coverage reporting - Enhance package.json with testing and quality scripts Implemented by Jules AI agent for production readiness and code quality enhancement.
27 lines
720 B
JSON
27 lines
720 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"types": ["jest", "@testing-library/jest-dom"],
|
|
"esModuleInterop": true,
|
|
"paths": {
|
|
"@/*": ["./client/src/*"]
|
|
}
|
|
},
|
|
"include": ["src", "**/*.ts", "**/*.tsx"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|