2021-04-07 16:14:58 +00:00
|
|
|
{
|
2024-05-13 00:14:22 +00:00
|
|
|
"compilerOptions": {
|
|
|
|
"experimentalDecorators": true,
|
2024-05-23 14:56:11 +00:00
|
|
|
"module": "es6",
|
2024-05-23 12:41:11 +00:00
|
|
|
"moduleResolution": "node",
|
2024-05-23 14:56:11 +00:00
|
|
|
"target": "es5",
|
2021-04-07 16:14:58 +00:00
|
|
|
"allowJs": true,
|
2024-05-23 12:41:11 +00:00
|
|
|
"sourceMap": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"strict": true,
|
|
|
|
"alwaysStrict": true, // should already be true because of strict:true
|
|
|
|
"noImplicitAny": true, // should already be true because of strict:true
|
|
|
|
"noImplicitThis": true, // should already be true because of strict:true
|
|
|
|
"noImplicitReturns": true,
|
2024-05-25 12:39:45 +00:00
|
|
|
"noImplicitOverride": true,
|
2024-05-23 12:41:11 +00:00
|
|
|
"strictBindCallApply": true, // should already be true because of strict:true
|
2024-05-25 12:39:45 +00:00
|
|
|
"noUnusedLocals": false, // works better as a linter error/warning
|
2024-05-23 12:41:11 +00:00
|
|
|
"allowSyntheticDefaultImports": true, // Seems necessary for peertube types to work
|
|
|
|
"isolatedModules": true, // Needed by esbuild https://esbuild.github.io/content-types/#isolated-modules
|
|
|
|
"esModuleInterop": true, // Needed by esbuild https://esbuild.github.io/content-types/#es-module-interop
|
2021-04-07 16:14:58 +00:00
|
|
|
"outDir": "../dist/client",
|
2024-05-23 12:41:11 +00:00
|
|
|
"paths": {
|
|
|
|
"shared/*": ["../shared/*"]
|
|
|
|
}
|
2024-05-13 00:14:22 +00:00
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"./**/*",
|
|
|
|
"../shared/**/*"
|
|
|
|
],
|
|
|
|
"exclude": []
|
2021-04-07 16:14:58 +00:00
|
|
|
}
|