-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
33 lines (33 loc) · 1.04 KB
/
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
32
33
{
"compilerOptions": {
// https://www.npmjs.com/package/ts-polyfill
// assume these libs will be present https://basarat.gitbooks.io/typescript/docs/types/lib.d.ts.html#lib-option
"lib": [
"dom",
"dom.iterable",
"es2015",
"es2016.array.include",
"es2017.object",
"es2017.string"
],
"jsx": "react",
"outDir": "./tsc/", // .gitignored directory for when `tsc` is run so .js files are not written out next to source files
"resolveJsonModule": true, // resolve and type json files!
"strict": true, // use typescript's strict type-checking
"target": "es5", // target older es5 browsers
"esModuleInterop": true // support lodash imports in parcel.js
},
"include": [
"./src/**/**/*"
],
"plugins": [
{
"name": "typescript-tslint-plugin",
"alwaysShowRuleFailuresAsWarnings": false,
"ignoreDefinitionFiles": true,
"configFile": "./tslint.json",
"suppressWhileTypeErrorsPresent": false,
"mockTypeScriptVersion": false
}
]
}