aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-05 01:56:30 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:31 +0800
commit27d9fba785a5a53550be53b12baf9069bda8d160 (patch)
treebde34d668e53832dd03dd279992721d56291124b /packages/website
parente6a783aff803c276392efec93571d24fc96feb6e (diff)
downloaddexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.gz
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.bz2
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.lz
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.xz
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.tar.zst
dexon-sol-tools-27d9fba785a5a53550be53b12baf9069bda8d160.zip
Include web3 types via typeRoots and factor out common parts of tsconfig.json
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/package.json2
-rw-r--r--packages/website/tsconfig.json10
2 files changed, 5 insertions, 7 deletions
diff --git a/packages/website/package.json b/packages/website/package.json
index 89f8e14bc..eb541218b 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -101,7 +101,7 @@
"style-loader": "0.13.x",
"tslint": "5.8.0",
"typescript": "~2.6.1",
- "web3-typescript-typings": "^0.7.2",
+ "web3-typescript-typings": "^0.9.0",
"webpack": "^3.1.0",
"webpack-dev-middleware": "^1.10.0",
"webpack-dev-server": "^2.5.0"
diff --git a/packages/website/tsconfig.json b/packages/website/tsconfig.json
index ebbee7ff3..43c417be0 100644
--- a/packages/website/tsconfig.json
+++ b/packages/website/tsconfig.json
@@ -1,18 +1,16 @@
{
+ "extends": "../../tsconfig",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"outDir": "./transpiled/",
- "sourceMap": true,
- "lib": ["es2015", "dom"],
- "noImplicitAny": true,
- "module": "commonjs",
- "target": "es5",
"jsx": "react",
"baseUrl": "./",
"allowJs": true,
+ "strictNullChecks": true,
+ "declaration": false,
"paths": {
"*": ["node_modules/@types/*", "*"]
}
},
- "include": ["./ts/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
+ "include": ["./ts/**/*"]
}