mirror of https://github.com/portainer/portainer
47 lines
1.2 KiB
JSON
47 lines
1.2 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,
|
|
"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/*"]
|
|
}
|
|
},
|
|
"exclude": ["api", "build", "dist", "distribution", "node_modules", "test", "webpack"],
|
|
"include": ["app"],
|
|
"typeAcquisition": {
|
|
"include": ["jest"]
|
|
}
|
|
}
|