-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
35 lines (35 loc) · 932 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
33
34
35
{
"compilerOptions": {
"baseUrl": ".",
"target": "es2020",
"types": ["node", "ethers", "chai", "mocha"],
"moduleResolution": "Node",
"resolveJsonModule": true,
"module": "commonjs",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"paths": {
"@contracts/*": ["./contracts/*"],
"@tests/*": ["./test/*"],
"@generated/*": ["./generated/*"],
"@scripts/*": ["./scripts/*"],
"@constants/*": ["./constants/*"],
"@helpers/*": ["./helpers/*"]
},
"outDir": "./build",
},
"include": ["types", "scripts", "test", "helpers", "./hardhat.config.ts", "constants", "helpers"],
"exclude": ["**/node_modules"],
"ts-node": {
"swc": true,
"require": ["tsconfig-paths/register"],
"compilerOptions": {
"module": "CommonJS"
},
"moduleTypes": {
"**/*": "cjs"
}
}
}