-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
32 lines (32 loc) · 983 Bytes
/
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
{
"extends": "@react-native/typescript-config/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react",
"lib": ["es6", "es2017"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"strict": true,
"target": "esnext",
"skipLibCheck": true,
// alias 설정
"baseUrl": ".",
"paths": {
"@providers/*": ["src/providers/*"],
"@components/*": ["src/components/*"],
"@hooks/*": ["src/hooks/*"],
"@routes/*": ["src/routes/*"],
"@type/*": ["src/type/*"], // types는 불가능해서 type으로 대체
"@utils/*": ["src/utils/*"],
"@assets/*": ["src/assets/*"],
"@server/*": ["src/server/*"],
"@recoil/*": ["src/recoil/*"],
"@axios/*": ["src/axios/*"]
}
},
"exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js"]
}