aboutsummaryrefslogtreecommitdiff
path: root/ts-compile-config.json
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-02-03 13:30:27 +0000
committerGitHub <noreply@github.com>2020-02-03 13:30:27 +0000
commit989173ea6e39ac27893f3cc5efba043ebda9df67 (patch)
tree4281d872404091155d1ddeaa5727bc5fb51fdd8a /ts-compile-config.json
parent53143dfc36e66e285256706a8ec837e2bd2f8427 (diff)
parent5bcc9b41e59bf7215abf395ea899cdbc2d06db9a (diff)
downloadreact-benzin-989173ea6e39ac27893f3cc5efba043ebda9df67.tar.gz
Merge pull request #2 from eug-vs/typescript
Add Typescript support
Diffstat (limited to 'ts-compile-config.json')
-rw-r--r--ts-compile-config.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/ts-compile-config.json b/ts-compile-config.json
new file mode 100644
index 0000000..8f0256b
--- /dev/null
+++ b/ts-compile-config.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "outDir": "dist",
+ "target": "es5",
+ "lib": [
+ "es6",
+ "dom",
+ "dom.iterable",
+ "esnext"
+ ],
+ "allowJs": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "module": "esnext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "react",
+ "skipLibCheck": true,
+ "declaration": true,
+ "listEmittedFiles": true
+ },
+ "include": [
+ "src/lib"
+ ]
+}