forked from Lattice-Automation/seqviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
20 lines (20 loc) · 846 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"allowJs": false, // allow a partial TypeScript and JavaScript codebase
"allowUnreachableCode": false,
"declaration": true,
"jsx": "react", // use typescript to transpile jsx to js
"lib": ["es2015", "dom"], // https://marcobotto.com/blog/compiling-and-bundling-typescript-libraries-with-webpack/
"module": "commonjs", // specify module code generation
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strict": false, // TODO: set to true
"strictNullChecks": true, // enable strict null checks as a best practice
"strictPropertyInitialization": true,
"target": "es5" // specify ECMAScript target version
},
"include": ["./src/"]
}