Include web3 types via typeRoots and factor out common parts of tsconfig.json

This commit is contained in:
Leonid Logvinov
2018-01-04 18:56:30 +01:00
parent e6a783aff8
commit 27d9fba785
32 changed files with 82 additions and 161 deletions

View File

@@ -59,6 +59,6 @@
"tslint": "5.8.0",
"typedoc": "~0.8.0",
"typescript": "~2.6.1",
"web3-typescript-typings": "^0.7.2"
"web3-typescript-typings": "^0.9.0"
}
}

View File

@@ -1,19 +1,12 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"lib": ["es2015", "dom"],
"outDir": "lib",
"sourceMap": true,
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true
"outDir": "lib"
},
"include": [
"./src/**/*",
"./test/**/*",
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts",
"../../node_modules/chai-typescript-typings/index.d.ts",
"../../node_modules/web3-typescript-typings/index.d.ts"
"../../node_modules/chai-typescript-typings/index.d.ts"
]
}