Files
portainer/tsconfig.json
T
2026-03-26 14:09:13 +02:00

68 lines
1.4 KiB
JSON

{
"compilerOptions": {
"baseUrl": "app",
"outDir": "./dist/public",
"module": "es6",
// "module": "commonjs",
// "module": "esnext",
"incremental": true,
"target": "esnext",
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"isolatedModules": true,
"noEmit": false,
"jsx": "react-jsx",
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"removeComments": true,
"resolveJsonModule": true,
// "sourceMap": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"paths": {
// paths relative to the baseUrl
"@@/*": [
"react/components/*"
],
"@/*": [
"./*",
"../app/*"
],
// https://github.com/jsonnext/codemirror-json-schema/issues/107#issuecomment-2144584296
"yaml-schema": [
"../node_modules/codemirror-json-schema/dist/yaml"
],
},
"types": [
"vitest/globals",
"@testing-library/jest-dom",
"node"
]
},
"exclude": [
"api",
"build",
"dist",
"distribution",
"node_modules",
"test",
"webpack"
],
"include": [
"app",
".storybook"
]
}