- Add tsconfig.json with ES2020 target and strict mode - Convert tailwind.config.js to TypeScript - Update package.json with build scripts: - build:ts - Compile TypeScript - build:ts:watch - Watch mode for development - Updated paths for web/ directory structure - Set up proper TypeScript compilation pipeline
28 lines
612 B
JSON
28 lines
612 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"lib": ["ES2020", "DOM"],
|
|
"outDir": "./web/static",
|
|
"rootDir": "./web/src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"declaration": false,
|
|
"sourceMap": false,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": [
|
|
"web/src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|