mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
33b5954a3b
* initialise storybook * fix storybook config * more config * add test story * add button story * add a11y addon * add chromatic job * fix script path * fix path again * yml tweak * typo * tweak * tweak job * change when job runs * revert change * revert lockfile * config tweaks * regen lockfile * tweak * tweak * move chromatic tests to ui workflow * tweak * add install deps cmd * add install pnpm input * job tweak * test * clean up * regen lockfile * remove redundant option * workflow tweak * tweak * tweak * cli tweak * cli tweak * restore inspector prop * skip frontend gradio build and post sb url to PR * remove pollen import * cancel job if no-visual-update tag present * move stoeybook files to /js and amend pnpm scripts * tweak theme css script * tweak action body / test tag * fix plot test and tweak pr comment job * fix yml * add gh token * test * update pnpm lock * yml test * restore yml update comment
52 lines
1.0 KiB
JSON
52 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.
|
|
*/
|
|
"verbatimModuleSyntax": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"outDir": "dist",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"./pure": ["./pure.js"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"**/dist/**/*",
|
|
"**/public/**/*",
|
|
"**/.config/**/*",
|
|
"**/*.test.ts",
|
|
"**/dist",
|
|
".github/**/*",
|
|
"**/demo/**/*",
|
|
"**/gradio/**/*",
|
|
"**/guides/**/*",
|
|
"**/readme_files/**/*",
|
|
"**/scripts/**/*",
|
|
"**/test/**/*",
|
|
"**/website/**/*",
|
|
"**/node_modules/**/*",
|
|
"**/venv/**/*",
|
|
"client/js/**"
|
|
],
|
|
"include": [
|
|
"**/*.d.ts",
|
|
"**/*.js",
|
|
"**/*.ts",
|
|
"**/*.svelte",
|
|
"client/js/**/*"
|
|
]
|
|
}
|