mercury/frontend/tsconfig.json

37 lines
886 B
JSON
Raw Permalink Normal View History

2023-09-03 00:23:48 +02:00
{
2023-09-03 04:11:56 +02:00
"compilerOptions": {
2023-09-15 16:33:25 +02:00
"target": "ES2020",
2023-09-03 04:11:56 +02:00
"useDefineForClassFields": true,
"module": "ESNext",
2023-09-15 16:33:25 +02:00
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
2023-09-03 04:11:56 +02:00
"resolveJsonModule": true,
2023-09-15 16:33:25 +02:00
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"],
"$/*": ["./src/*"],
"$lib/*": ["src/lib/*"],
"$components/*": ["src/components/*"],
"$public/*": ["public/*"],
"$pages/*": ["src/pages/*"]
}
2023-09-03 04:11:56 +02:00
},
2023-09-15 16:33:25 +02:00
"include": ["src"],
2023-09-03 04:11:56 +02:00
"references": [{ "path": "./tsconfig.node.json" }]
2023-09-03 00:23:48 +02:00
}