portainer/tsconfig.json

40 lines
1.0 KiB
JSON

{
"compilerOptions": {
"baseUrl": "app",
"outDir": "./dist/public",
"module": "es6",
// "module": "commonjs",
// "module": "esnext",
"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,
// "sourceMap": true,
"lib": ["dom", "dom.iterable", "esnext"],
"paths": {
// paths relative to the baseUrl
"@/*": ["./*", "../app/*"]
}
},
"exclude": ["api", "build", "dist", "distribution", "node_modules", "test", "webpack"],
"include": ["app"],
"typeAcquisition": {
"include": ["jest"]
}
}