mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
ae4277a9a8
* move files * commit the rest of the files * fix lockfile * fix workflow * fix type errors * fix tests * only run ci when certain files change * run correct test command in ci * version * fix pypi script --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"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,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"outDir": "dist",
|
|
"baseUrl": "."
|
|
},
|
|
"exclude": [
|
|
"**/dist/**/*",
|
|
"**/public/**/*",
|
|
"**/*.config.js",
|
|
"**/dist",
|
|
"**/workbench/**/*",
|
|
"**/Plot.svelte",
|
|
".github/**/*",
|
|
"**/demo/**/*",
|
|
"**/gradio/**/*",
|
|
"**/guides/**/*",
|
|
"**/readme_files/**/*",
|
|
"**/scripts/**/*",
|
|
"**/test/**/*",
|
|
"**/website/**/*",
|
|
"**/node_modules/**/*",
|
|
"**/venv/**/*"
|
|
],
|
|
"include": [
|
|
"**/*.d.ts",
|
|
"**/*.js",
|
|
"**/*.ts",
|
|
"**/*.svelte",
|
|
"client/js/**/*"
|
|
]
|
|
}
|