aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/**/*"
+ ]
+}