Refactor/ts (#21)

* refactor(ts): add deps

* refactor(ts): add tsconfig

* refactor(rollup): configure ts
This commit is contained in:
Moritz
2019-10-09 22:56:59 +02:00
committed by GitHub
parent 0659a8d04b
commit 9148229c19
5 changed files with 400 additions and 2 deletions

17
tsconfig.json Normal file
View File

@@ -0,0 +1,17 @@
{
"compilerOptions": {
"outDir": "build",
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom", "es2016", "es2017"],
"jsx": "react",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowSyntheticDefaultImports": true
},
"include": ["src"],
"exclude": ["node_modules", "build", "dist", "example", "rollup.config.js"]
}