-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
111 lines (111 loc) · 3.57 KB
/
tsconfig.json
File metadata and controls
111 lines (111 loc) · 3.57 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Language and Environment */
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "es2022", /* Specify what module code is generated. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"pretty": true,
"removeComments": true,
"rewriteRelativeImportExtensions": true,
"baseUrl": "./",
"rootDir": "./ts", /* Specify the root folder within your source files. */
"outDir": "./js", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"resolveJsonModule": true, /* Include modules imported with .json extension. */
"allowJs": true,
"skipLibCheck": true,
/* Source Maps */
"sourceMap": false, /* Generates corresponding '.map' file. */
"declaration": false, /* Generates corresponding '.d.ts' file. */
"declarationMap": false, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"plugins": [
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
],
"typeRoots": [
"./node_modules/@types",
],
"paths": {
"@tweenjs/*": [
"node_modules/@tweenjs/tween.js"
],
// "@types/*": [
// "node_modules/@types/*"
// ],
// "three": [
// // "node_modules/@types/three/src/Three.d.ts",
// "node_modules/three/src/Three",
// ],
// "three/examples/jsm/*": [
// // "node_modules/@types/three/examples/jsm/*",
// "node_modules/three/examples/jsm/*"
// ],
// "dat.gui": [
// // "node_modules/@types/dat.gui/index.d.ts",
// "node_modules/dat.gui/build/dat.gui"
// ],
// "jquery": [
// "node_modules/jquery/dist/jquery"
// ],
// "sweetalert": [
// "node_modules/sweetalert/dist/sweetalert"
// ],
// "stupid-table-plugin": [
// "node_modules/stupid-table-plugin/stupidtable.min"
// ],
// "stats.js": [
// "node_modules/stats.js/build/stats.min"
// ]
},
// Type Checking
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
// No unused code (4)
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// No implicit code (2)
"noImplicitOverride": true,
"noImplicitReturns": true,
// Others (5)
// "noUncheckedIndexedAccess": true,
// "noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"ts/animate.ts",
"ts/config.ts",
"ts/controls.ts",
"ts/display.ts",
"ts/files-load.ts",
"ts/ispy.interfaces.d.ts",
"ts/ispy.ts",
"ts/objects-add.ts",
"ts/objects-config.ts",
"ts/objects-draw.ts",
"ts/renderer.ts",
"ts/setup.ts",
"ts/tree-view.ts",
"ts/analysis.ts",
"ts/utils.ts",
"ts/tutorial.ts",
"ts/tutorial-config.ts"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
],
}