generated from yandeu/phaser-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
41 lines (36 loc) · 1.28 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
{
"compilerOptions": {
"jsx": "react",
"target": "es6",
"module": "esnext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"allowUnreachableCode": false,
"noImplicitAny": false,
"sourceMap": true,
// Temp fix for Netlify's TS2531 errors
"strictPropertyInitialization": false,
"strictNullChecks": false,
// MobX support
"useDefineForClassFields": true,
"moduleResolution": "node",
"lib": ["dom", "esnext"],
"paths": {
"~/game": ["./src/game/scripts/index"],
"~/game/*": ["./src/game/scripts/*"],
"~/scenes": ["./src/game/scripts/scenes/index"],
"~/scenes/*": ["./src/game/scripts/scenes/*"],
"~/managers": ["./src/game/scripts/managers/index"],
"~/managers/*": ["./src/game/scripts/managers/*"],
"~/objects": ["./src/game/scripts/objects/index"],
"~/objects/*": ["./src/game/scripts/objects/*"],
"~/ui": ["./src/ui/index"],
"~/ui/*": ["./src/ui/*"]
}
},
"include": ["src/**/*", "typings/*"]
// "exclude": ["node_modules", "**/*.spec.ts"]
}