forked from Automattic/woocommerce-payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
34 lines (34 loc) · 1.22 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
34
{
"compilerOptions": {
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strict": true, // enable strict type checks as a best practice
"module": "es6", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es6", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase
"moduleResolution": "node",
"baseUrl": "./client",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"noImplicitAny": true,
"paths": {
"assets/*": [ "../assets/*" ],
"wcpay/*": [ "./*" ],
"multi-currency/*": [ "../multi-currency/client/*" ],
"iti/utils": [ "../node_modules/intl-tel-input/build/js/utils" ],
"react": [ "../node_modules/@types/react" ]
},
"types": [
"node",
"jest",
"@testing-library/jest-dom"
],
"resolveJsonModule": true,
"skipLibCheck": true // To be removed when the lint errors related to types and multiple resolutions are gone
},
"include": [
"./client/"
],
"exclude": [ "node_modules" ]
}