alertmanager/ui/react-app/tsconfig.json

32 lines
811 B
JSON

// Base config for all typescript packages
{
"compilerOptions": {
"target": "ES2018",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"jsx": "react-jsx",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noUncheckedIndexedAccess": true,
"declaration": true,
"declarationMap": true,
"pretty": true,
"sourceMap": true
},
"include": ["src"],
// For builds that use ts-node to compile the configs (e.g. webpack, jest)
"ts-node": {
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"esModuleInterop": true
}
}
}