forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
60 lines (54 loc) · 1.75 KB
/
tsconfig.base.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"target": "es6",
"module": "commonjs",
"incremental": true,
"declaration": true,
"declarationMap": true,
"composite": true,
"emitDeclarationOnly": false,
"isolatedModules": true,
/* Strict Type-Checking Options */
"strict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
/* Module Resolution Options */
"moduleResolution": "node",
/* This needs to be false so our types are possible to consume without setting this */
"esModuleInterop": false,
"resolveJsonModule": true
},
/*
We set files: [] here so that running tsc against this config does not pick up anything,
but only delegates the tsc command execution to the projects specified in references[]
More at: https://www.typescriptlang.org/docs/handbook/project-references.html
*/
"files": [],
"references": [
{ "path": "./plugins/woocommerce/" },
{ "path": "./plugins/woocommerce-admin/" },
{ "path": "./packages/js/admin-e2e-tests" },
{ "path": "./packages/js/api" },
{ "path": "./packages/js/components" },
{ "path": "./packages/js/csv-export" },
{ "path": "./packages/js/currency" },
{ "path": "./packages/js/customer-effort-score" },
{ "path": "./packages/js/data" },
{ "path": "./packages/js/date" },
{ "path": "./packages/js/experimental" },
{ "path": "./packages/js/explat" },
{ "path": "./packages/js/internal-js-tests" },
{ "path": "./packages/js/navigation" },
{ "path": "./packages/js/notices" },
{ "path": "./packages/js/number" },
{ "path": "./packages/js/onboarding" },
{ "path": "./packages/js/tracks" }
]
}