-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
55 lines (55 loc) · 1.5 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"compilerOptions": {
"allowUmdGlobalAccess": true,
"baseUrl": "./",
"moduleResolution": "node",
"sourceMap": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"strictNullChecks": true,
"esModuleInterop": true,
"skipLibCheck": false,
"jsx": "react",
"lib": [],
"types": [
"node",
"@item-enonic-types/global",
],
"rootDirs": [
"./src/main/resources",
"./.xp-codegen"
],
"paths": {
"/admin/*": ["./src/main/resources/admin/*"],
"/lib/xp/*": ["./node_modules/@enonic-types/lib-*"],
"/lib/enonic/react4xp": ["./node_modules/@enonic-types/lib-react4xp"],
"/lib/*": [ "./node_modules/@item-enonic-types/lib-*" ,"./src/main/resources/lib/*", "./src/main/resources/lib/types/*"],
"/react4xp/*": ["./src/main/resources/react4xp/*"],
"/services/*": ["./src/main/resources/services/*"],
"/site/*": [
"./.xp-codegen/site/*",
"./src/main/resources/site/*"
],
"/tasks/*": [
"./.xp-codegen/tasks/*",
"./src/main/resources/tasks/*"
],
}
},
"include": [
"node_modules/typescript/lib/lib.es5.d.ts",
"./.xp-codegen/**/*",
"src/main/resources/**/*.ts"
],
"exclude": [
"./build/*",
"src/**/*.js",
"src/main/resources/**/*.tsx",
"src/main/resources/assets/**/*.*",
"./src/main/resources/lib/ssb/polyfills/nashorn.js",
],
"references": [
{ "path": "./src/tsconfig.react4xp.json" },
],
}