-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtsconfig.json
31 lines (31 loc) · 1.26 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
{
"compilerOptions": {
"baseUrl": ".",
"target": "es2017",
"noImplicitAny": false,
"moduleResolution": "node",
// Ensure that .d.ts files are created by tsc, but not .js files
"declaration": true,
"emitDeclarationOnly": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"lib": ["ES2017","ES2018", "ES2019", "ES2020", "dom"],
// Ensure that Babel can safely transpile files in the TypeScript project
"isolatedModules": true,
"paths": {
"@cennznet/api/*": ["packages/api/src/*"],
"@cennznet/api": ["packages/api/src/index"],
"@cennznet/types/*": ["packages/types/src/*"],
"@cennznet/types": ["packages/types/src/index"],
"@polkadot/api/augment": ["packages/types/src/interfaces/augment-api.ts"],
"@polkadot/rpc/augment": ["packages/types/src/interfaces/augment-api-rpc.ts"],
"@polkadot/types/augment": ["packages/types/src/interfaces/augment-types.ts"],
"@polkadot/types/lookup": ["packages/types/src/interfaces/types-lookup.ts"]
},
"skipLibCheck": true
},
"include": ["packages/**/*", "scripts/*.ts", "config"],
"exclude": ["**/node_modules/**", "scripts/*"],
"typeRoots": ["./node_modules/@types", "@polkadot/ts"]
}