diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-05-24 17:37:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 17:37:44 +0800 |
commit | 9008d21407eedf683be91beeb07c14c2113fa798 (patch) | |
tree | a9c2ecca83a1e285b50e44f671a5e877e2678116 | |
parent | 90b3d6bc1030ecd37e26e30ca68a9e04b9e54b1f (diff) | |
parent | 7564413668ceeb6fa8576a597892e7988740c572 (diff) | |
download | dexon-0x-contracts-9008d21407eedf683be91beeb07c14c2113fa798.tar.gz dexon-0x-contracts-9008d21407eedf683be91beeb07c14c2113fa798.tar.zst dexon-0x-contracts-9008d21407eedf683be91beeb07c14c2113fa798.zip |
Merge pull request #2 from 0xProject/tsconfig
Add initial tsconfig
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | tsconfig.json | 15 |
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/**/*" + ] +} |