1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-16 10:09:55 +00:00
CC-Tweaked/tsconfig.json
Jonathan Coates a4c9e89370
Runnable examples (#576)
Provides a basic interface for running examples on tweaked.cc. This is probably
janky as anything, but it works on my machine.

This is the culmination of 18 months of me building far too much infrastructure
(copy-cat, illuaminate), so that's nice I guess.

I should probably get out more.
2020-11-12 19:01:50 +00:00

35 lines
860 B
JSON

{
"compilerOptions": {
"module": "esNext",
"moduleResolution": "node",
"target": "es6",
"lib": [
"es2015",
"dom"
],
"newLine": "LF",
"baseUrl": ".",
// Additional compile options
"noEmitOnError": true,
"preserveWatchOutput": true,
"jsx": "react",
"jsxFactory": "h",
// Strict Type-Checking Options
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true,
"paths": {
"copycat/embed": [
"src/web/copy-cat.d.ts"
],
}
},
"include": [
"src/web",
]
}