gradio
/
tsconfig.json
64 строки · 1.5 Кб
1{
2"compilerOptions": {
3"moduleResolution": "node",
4"module": "es2020",
5"lib": ["es2020", "DOM", "dom.iterable"],
6"target": "es2020",
7/**
8svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
9to enforce using \`import type\` instead of \`import\` for Types.
10*/
11"verbatimModuleSyntax": true,
12"resolveJsonModule": true,
13"strict": true,
14"sourceMap": true,
15"esModuleInterop": true,
16"skipLibCheck": true,
17"forceConsistentCasingInFileNames": true,
18"allowJs": true,
19"checkJs": true,
20"outDir": "dist",
21"baseUrl": ".",
22"paths": {
23"./pure": ["./pure.js"],
24"@gradio/client": ["./client/js/src/index.ts"]
25},
26"plugins": [
27{
28"name": "typescript-svelte-plugin",
29// the following options can be set additionally; they are optional; their default values are listed here
30"enabled": true, // enables this plugin
31"assumeIsSvelteProject": false // if true, skip detection and always assume it's a Svelte project
32}
33]
34},
35"exclude": [
36"**/_website/**/*",
37"**/dist/**/*",
38"**/public/**/*",
39"**/.config/**/*",
40"**/*.test.ts",
41"**/dist",
42".github/**/*",
43"**/demo/**/*",
44"**/gradio/**/*",
45"**/guides/**/*",
46"**/readme_files/**/*",
47"**/scripts/**/*",
48"**/test/**/*",
49"**/website/**/*",
50"**/node_modules/**/*",
51"**/venv/**/*",
52"client/js/**",
53"**/vite.config*",
54".changeset/*.cjs",
55"**/storybook-static/**/*"
56],
57"include": [
58"**/*.d.ts",
59"**/*.js",
60"**/*.ts",
61"**/*.svelte",
62"client/js/**/*"
63]
64}
65