aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-05-24 17:37:44 +0800
committerGitHub <noreply@github.com>2017-05-24 17:37:44 +0800
commit9008d21407eedf683be91beeb07c14c2113fa798 (patch)
treea9c2ecca83a1e285b50e44f671a5e877e2678116
parent90b3d6bc1030ecd37e26e30ca68a9e04b9e54b1f (diff)
parent7564413668ceeb6fa8576a597892e7988740c572 (diff)
downloaddexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar.gz
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar.bz2
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar.lz
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar.xz
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.tar.zst
dexon-sol-tools-9008d21407eedf683be91beeb07c14c2113fa798.zip
Merge pull request #2 from 0xProject/tsconfig
Add initial tsconfig
-rw-r--r--.gitignore6
-rw-r--r--tsconfig.json15
2 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 00cbbdf53..ed650c3f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,3 +57,9 @@ typings/
# dotenv environment variables file
.env
+# built library using in commonjs module syntax
+lib
+# built library using es6 module syntax to enable webpack and rollup tree shaking
+lib-esm
+# UMD bundles that export the global variable
+_bundles
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 000000000..5ba086da6
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es5",
+ "lib": [ "es2015", "dom" ],
+ "outDir": "lib",
+ "sourceMap": true,
+ "declaration": true,
+ "noImplicitAny": true,
+ "strictNullChecks": true
+ },
+ "include": [
+ "./src/ts/**/*"
+ ]
+}