forked from satellair/rrraass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
executable file
·47 lines (47 loc) · 1.38 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
{
"compilerOptions": {
"jsx": "preserve",
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"resolveJsonModule": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"isolatedModules": true,
// custom paths
"paths": {
// pages
"@pages" : ["src/pages/index.tsx"],
"@pages/*" : ["src/pages/*"],
// style
"@styles" : ["src/styles/index.ts"],
"@styles/*" : ["src/styles/*"],
"@components" : ["src/components/index.ts"],
//"@components/*" : ["src/components/*"],
"@hooks" : ["src/hooks/index.ts"],
"@hooks/*" : ["src/hooks/*"],
"@types" : ["src/types/index.ts"],
"@types/*" : ["src/types/*"],
// public
"@public" : ["public/*"],
"@sounds" : ["public/sounds/*"],
"@pig" : ["public/pig/*"],
}
},
"compileOnSave": true,
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}