portainer/tsconfig.json

46 lines
1.3 KiB
JSON

{
"compilerOptions": {
"baseUrl": "app",
"outDir": "./dist/public",
"module": "es6",
// "module": "commonjs",
// "module": "esnext",
"incremental": true,
"target": "es2017",
"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/*"],
"Agent/*": ["agent/*"],
"Azure/*": ["azure/*"],
"Docker/*": ["docker/*"],
"Kubernetes/*": ["kubernetes/*"],
"Portainer/*": ["portainer/*"]
},
"types": ["vitest/globals"]
},
"exclude": ["api", "build", "dist", "distribution", "node_modules", "test", "webpack"],
"include": ["app", ".storybook"]
}