mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
35 lines
799 B
JSON
35 lines
799 B
JSON
// Credit: https://www.totaltypescript.com/tsconfig-cheat-sheet
|
|
{
|
|
"exclude": ["**/*/node_modules", "**/*/dist"],
|
|
"compilerOptions": {
|
|
/* Base Options: */
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "es2022",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
|
|
/* Strictness */
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
/* If transpiling with TypeScript: */
|
|
"moduleResolution": "NodeNext",
|
|
"module": "NodeNext",
|
|
"outDir": "dist",
|
|
"sourceMap": true,
|
|
|
|
/* AND if you're building for a library: */
|
|
"declaration": true,
|
|
|
|
/* AND if you're building for a library in a monorepo: */
|
|
"composite": true,
|
|
"declarationMap": true,
|
|
|
|
/* If your code doesn't run in the DOM: */
|
|
"lib": ["es2022"]
|
|
}
|
|
}
|