You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/tsconfig.json

42 lines
1.1 KiB

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