2022-02-02 22:02:09 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"module": "es2020",
|
|
|
|
"lib": ["es2020", "DOM"],
|
|
|
|
"target": "es2020",
|
|
|
|
/**
|
|
|
|
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
|
|
|
to enforce using \`import type\` instead of \`import\` for Types.
|
|
|
|
*/
|
|
|
|
"importsNotUsedAsValues": "error",
|
|
|
|
"isolatedModules": true,
|
|
|
|
"resolveJsonModule": true,
|
2022-02-02 23:49:37 +08:00
|
|
|
"strict": true,
|
2022-02-02 22:02:09 +08:00
|
|
|
"sourceMap": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"allowJs": true,
|
|
|
|
"checkJs": true,
|
2023-03-28 07:12:58 +08:00
|
|
|
"outDir": "dist",
|
|
|
|
"baseUrl": "."
|
2022-02-02 22:02:09 +08:00
|
|
|
},
|
2022-07-22 02:12:46 +08:00
|
|
|
"exclude": [
|
|
|
|
"**/dist/**/*",
|
|
|
|
"**/public/**/*",
|
|
|
|
"**/*.config.js",
|
2023-03-28 07:12:58 +08:00
|
|
|
"**/dist",
|
2022-07-22 02:12:46 +08:00
|
|
|
"**/workbench/**/*",
|
2023-03-28 07:12:58 +08:00
|
|
|
"**/Plot.svelte",
|
|
|
|
".github/**/*",
|
|
|
|
"**/demo/**/*",
|
|
|
|
"**/gradio/**/*",
|
|
|
|
"**/guides/**/*",
|
|
|
|
"**/readme_files/**/*",
|
|
|
|
"**/scripts/**/*",
|
|
|
|
"**/test/**/*",
|
|
|
|
"**/website/**/*",
|
|
|
|
"**/node_modules/**/*",
|
|
|
|
"**/venv/**/*"
|
2022-07-22 02:12:46 +08:00
|
|
|
],
|
2023-01-18 04:47:40 +08:00
|
|
|
"include": [
|
|
|
|
"**/*.d.ts",
|
|
|
|
"**/*.js",
|
|
|
|
"**/*.ts",
|
|
|
|
"**/*.svelte",
|
2023-03-28 07:12:58 +08:00
|
|
|
"client/js/**/*"
|
2023-01-18 04:47:40 +08:00
|
|
|
]
|
2022-02-02 23:49:37 +08:00
|
|
|
}
|