-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (39 loc) ยท 1.87 KB
/
tsconfig.json
File metadata and controls
39 lines (39 loc) ยท 1.87 KB
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
{
"compilerOptions": {
"target": "es6", // ์ปดํ์ผ ๊ฒฐ๊ณผ๋ฌผ์ ๋ฌธ๋ฒ -> es6
"lib": ["dom", "dom.iterable", "esnext"], // ์ฌ์ฉ ๊ฐ๋ฅํ ๋ฌธ๋ฒ
"allowJs": true, // .js, .jsx ํ์ฅ์ ํ์ฉ
"strictFunctionTypes": true, //ํจ์ ํ๋ผ๋ฏธํฐ ์ฒดํฌ ๊ฐํ๊ฒ
"skipLibCheck": true, // d.ts ํ์ผ์ ํ์
๊ฒ์ฌ ์๋ต
"esModuleInterop": true, // es module์ด ์๋์ด๋ import export ์ธ ์ ์๊ฒ ํจ
"allowSyntheticDefaultImports": true, // default export๊ฐ ์๋ ๋ชจ๋์ default import ํ์ฉ
"strict": true, // ๋ชจ๋ strict๊ฐ ๋ถ์ ์ค์ true
"forceConsistentCasingInFileNames": true, // ๋์ผํ ํ์ผ์ ๋ํด ์ผ๊ด๋์ง ์์ ์ฐธ์กฐ ํ์ฉ
"noFallthroughCasesInSwitch": true, // switch๋ฌธ break๋ฌธ ์ฌ์ฉํ์ง ์์ผ๋ฉด ๊ฒฝ๊ณ
"module": "esnext", // ์ปดํ์ผ ๊ฒฐ๊ณผ๋ฌผ์ module ๋ฐฉ์
"moduleResolution": "node", // ๋ชจ๋ ํด์ ์ ๋ต -> node
"resolveJsonModule": true, // JSON์ importํ ์ ์์
"jsxImportSource": "@emotion/react",
"isolatedModules": true, // ๋ชจ๋ ํ์ผ์ ๋ชจ๋๋ก ๋ง๋ค์ด์ผ ํจ (import, export ํ์ง ์์ผ๋ฉด ์๋ฌ)
"noEmit": true, // ๊ฒฐ๊ณผ๋ฌผ์ ๋ง๋ค์ง ์์ -> ํ์
์ฒดํฌ์ฉ
"noImplicitAny": true, // ์๋ฌต์ any ๊ธ์ง
"jsx": "preserve", // jsx ์ง์
"sourceMap": true, // ๋๋ฒ๊น
์ ์๋ณธ TypeScript ์ฝ๋๋ฅผ ๋ณด์ฌ์ค
"incremental": true,
"baseUrl": ".",
"paths": {
"@banner/*": ["src/banner/*"],
"@challenge/*": ["src/challenge/*"],
"@reaction/*": ["src/reaction/*"],
"@user/*": ["src/user/*"],
"@workspace/*": ["src/workspace/*"],
"@shared/*": ["src/shared/*"],
"@auth/*": ["src/auth/*"],
"@pages/*": ["src/pages/*"],
"@layout/*": ["src/layout/*"]
}
},
"types": ["@types/jest", "@testing-library/jest-dom"],
"include": ["src/"],
"exclude": ["node_modules"]
}