-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.base.json
44 lines (42 loc) · 1.4 KB
/
tsconfig.base.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
{
"compileOnSave": false,
"compilerOptions": {
"rootDir": ".",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"lib": ["es2017", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"esModuleInterop": true,
"baseUrl": ".",
"typeRoots": ["./node_modules/@polkadot/ts", "./node_modules/@types"],
"paths": {
"@peaq-network/sdk": ["packages/sdk/src/index.ts"],
"@peaq-network/types": ["packages/types/src/index.ts"],
"@peaq-network/types/*": ["packages/types/src/*"],
"@polkadot/api/augment": ["packages/types/src/interfaces/augment-api.ts"],
"@polkadot/types/augment": [
"packages/types/src/interfaces/augment-types.ts"
],
"@polkadot/types/lookup": [
"packages/types/src/interfaces/types-lookup.ts"
]
},
"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": ["node_modules", "tmp"],
"ts-node": {
"experimentalSpecifierResolution": "node",
}
}