37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["vite/client"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Paths */
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"react": ["./node_modules/@types/react/index.d.ts"],
|
|
"react/jsx-runtime": ["./node_modules/@types/react/jsx-runtime.d.ts"],
|
|
"react/jsx-dev-runtime": ["./node_modules/@types/react/jsx-dev-runtime.d.ts"],
|
|
"clsx": ["./node_modules/clsx/clsx.d.ts"],
|
|
"tailwind-merge": ["./node_modules/tailwind-merge/dist/types.d.ts"],
|
|
"@omnichannel/tokens": ["../library/packages/tokens/src/index.ts"],
|
|
"@omnichannel/themes": ["../library/packages/themes/src/index.tsx"],
|
|
"@omnichannel/ui": ["../library/packages/ui/src/index.ts"]
|
|
},
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src"]
|
|
}
|