-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
31 lines (31 loc) · 853 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// https://github.com/elboman/typescript-lib-example/blob/master/tsconfig.json
{
"compilerOptions": {
"moduleResolution": "node",
// "module": "commonjs",
"target": "es5",
"lib": ["es6", "dom"],
"outDir": "dist",
"allowSyntheticDefaultImports": true,
"suppressImplicitAnyIndexErrors": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"declaration": true,
// https://hackernoon.com/building-and-publishing-a-module-with-typescript-and-rollup-js-faa778c85396
"declarationDir": "./dist",
"jsx": "react",
"importHelpers": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"strictNullChecks": true,
},
"include": [
"src/**/*"
],
"exclude": ["node_modules"],
"files": [
"./src/dangerous.tsx"
],
"compileOnSave": false,
"buildOnSave": false
}