41 lines
929 B
JSON
41 lines
929 B
JSON
{
|
|
"compilerOptions": {
|
|
"sourceMap": true,
|
|
"noImplicitAny": true,
|
|
// esnext modules supports import() async webpack modules
|
|
"module": "esnext",
|
|
// chrome 80 supports 100% es2019
|
|
"target": "es2019",
|
|
"allowJs": true,
|
|
// convert jsx to react components
|
|
"jsx": "react",
|
|
"lib": [
|
|
"es6",
|
|
"dom",
|
|
"DOM.Iterable",
|
|
"es7",
|
|
"es2017",
|
|
"es2018",
|
|
"es2019",
|
|
"esnext"
|
|
],
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"brave-ui": ["node_modules/brave-ui/src"],
|
|
"brave-ui/*": ["node_modules/brave-ui/src/*"]
|
|
},
|
|
"typeRoots": [
|
|
"./node_modules/@types",
|
|
"./components/definitions"
|
|
],
|
|
// optional
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitReturns": true,
|
|
"strictNullChecks": true,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"noUnusedLocals": true
|
|
},
|
|
"include": []
|
|
}
|