-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.scripts.json
More file actions
41 lines (41 loc) · 1.01 KB
/
Copy pathtsconfig.scripts.json
File metadata and controls
41 lines (41 loc) · 1.01 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
40
41
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./.temp-scripts", // saída dos scripts compilados (caso use tsc diretamente)
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
"allowJs": false,
"checkJs": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
"noEmit": false, // permite compilar arquivos
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"types": ["node"],
"baseUrl": ".",
"paths": {
"@comp/*": ["src/scripts/components/*"],
"@scss/*": ["src/scss/*"],
"@css/*": ["src/assets/css/*"],
"@tsx/*": ["src/scripts/tsx/*"],
"@ts/*": ["src/scripts/ts/*"],
"@js/*": ["src/assets/js/*"],
"@s/*": ["src/assets/s/*"]
}
},
"include": [
"src/scripts/ts",
"src/scripts/tsx",
"src/scripts",
"scripts"
],
"exclude": ["node_modules", "dist", ".temp-scripts"],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
}
}