forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
58 lines (58 loc) · 2.72 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"compilerOptions": {
"module": "esnext",
// aligning with Node18 recommendation: https://www.npmjs.com/package/@tsconfig/node18
"target": "es2022",
"lib": ["es2020", "dom"],
"jsx": "preserve",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noEmit": true,
"experimentalDecorators": true,
"baseUrl": "./",
"allowSyntheticDefaultImports": true,
"noErrorTruncation": false,
"allowJs": true,
"paths": {
"@mui/material": ["./packages/mui-material/src"],
"@mui/material/*": ["./packages/mui-material/src/*"],
"@mui/lab": ["./packages/mui-lab/src"],
"@mui/lab/*": ["./packages/mui-lab/src/*"],
"@mui/internal-markdown": ["./packages/markdown"],
"@mui/internal-markdown/*": ["./packages/markdown/*"],
"@mui/styled-engine": ["./packages/mui-styled-engine/src"],
"@mui/styled-engine/*": ["./packages/mui-styled-engine/src/*"],
"@mui/styled-engine-sc": ["./packages/mui-styled-engine-sc/src"],
"@mui/styled-engine-sc/*": ["./packages/mui-styled-engine-sc/src/*"],
"@mui/styles": ["./packages/mui-styles/src"],
"@mui/styles/*": ["./packages/mui-styles/src/*"],
"@mui/system": ["./packages/mui-system/src"],
"@mui/system/*": ["./packages/mui-system/src/*"],
"@mui/types": ["./packages/mui-types"],
"@mui/private-theming": ["./packages/mui-private-theming/src"],
"@mui/private-theming/*": ["./packages/mui-private-theming/src/*"],
"@mui/base": ["./packages/mui-base/src"],
"@mui/base/*": ["./packages/mui-base/src/*"],
"@mui/utils": ["./packages/mui-utils/src"],
"@mui/utils/*": ["./packages/mui-utils/src/*"],
"@mui/docs": ["./packages/mui-docs/src"],
"@mui/docs/*": ["./packages/mui-docs/src/*"],
"@mui/material-nextjs": ["./packages/mui-material-nextjs/src"],
"@mui/material-nextjs/*": ["./packages/mui-material-nextjs/src/*"],
"@mui/joy": ["./packages/mui-joy/src"],
"@mui/joy/*": ["./packages/mui-joy/src/*"],
"@mui/icons-material": ["./packages/mui-icons-material/lib/esm/index.js"],
"@mui/icons-material/*": ["./packages/mui-icons-material/src/icon.d.ts"],
"@mui/internal-docs-utils": ["./packages-internal/docs-utils/src"],
"@mui/internal-scripts/typescript-to-proptypes": [
"./packages-internal/scripts/typescript-to-proptypes/src"
],
"@mui/internal-test-utils": ["./packages-internal/test-utils/src"],
"@mui/internal-test-utils/*": ["./packages-internal/test-utils/src/*"]
},
// Otherwise we get react-native typings which conflict with dom.lib.
"types": ["node", "react", "mocha"]
},
"exclude": ["**/.*/", "**/build", "**/node_modules", "docs/export"]
}