-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
32 lines (31 loc) · 1.04 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
{
"compilerOptions": {
"target": "es2016",
"module": "es6",
"moduleResolution": "Node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"declaration": true,
"baseUrl": "./",
"paths": {
"@lib": ["./src/index.ts"],
"@interfaces": ["./src/interfaces/index.ts"],
"@helpers": ["./src/helpers/index.ts"]
},
"types": ["cypress", "node", "@testing-library/cypress"],
// Note: To transform paths for both the output .js and .d.ts files, you need both of the below entries
"plugins": [
// Transform paths in output .js files
{ "transform": "typescript-transform-paths" },
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"exclude": ["**/.eslint.js"],
"include": ["./src/index.ts"]
}