* Install dependencies * Remove dependency react-scripts * Remove dependency "@babel/plugin-proposal-private-property-in-object" Was necessary to prevent a react-scripts warning. * Update scripts in package.json * Add vite config * Move "public/index.html" to root folder * Remove "%PUBLIC_URL%" occurrences * Link "src/index.tsx" in "index.html" * Update tsconfig target to "esnext" * Target latest LTS node version (v18.16.0) * Add "@types/node" dependency
29 lines
584 B
JSON
29 lines
584 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./src",
|
|
"target": "ESNext",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx"
|
|
},
|
|
"include": [
|
|
"src",
|
|
"vite.config.ts"
|
|
]
|
|
}
|