tsconfig.lib.json
1 { 2 "extends": "./tsconfig.json", 3 "compilerOptions": { 4 "outDir": "dist", 5 "declaration": true, 6 "declarationDir": "dist", 7 "sourceMap": true, 8 "noEmit": false, 9 "emitDeclarationOnly": true, 10 "jsx": "react-jsx", 11 "jsxImportSource": "react", 12 "esModuleInterop": true, 13 "target": "ES2020", 14 "module": "ESNext", 15 "lib": ["ES2023", "DOM", "DOM.Iterable"], 16 "downlevelIteration": true, 17 "skipLibCheck": true, 18 "types": ["node", "vite/client"], 19 "moduleResolution": "bundler", 20 "allowSyntheticDefaultImports": true, 21 "baseUrl": ".", 22 "paths": { 23 "@/*": ["./src/*"], 24 "@/lib/*": ["./src/lib/*"] 25 } 26 }, 27 "include": ["src/lib/**/*"], 28 "exclude": ["node_modules", "src/lib/test-utils/**", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx", "**/*.stories.ts", "**/*.stories.tsx"] 29 }