mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
refactor typescript wiring
This commit is contained in:
parent
cea9ae62d8
commit
c62c336a11
286 changed files with 2999 additions and 3053 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "src",
|
||||
"target": "es2020",
|
||||
"lib": [
|
||||
"dom",
|
||||
|
|
@ -10,6 +9,7 @@
|
|||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
"types": ["node"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
|
|
@ -22,7 +22,21 @@
|
|||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"noFallthroughCasesInSwitch": false
|
||||
"noFallthroughCasesInSwitch": false,
|
||||
"paths": {
|
||||
"@app/api": ["./src/api/index.ts"],
|
||||
"@app/components": ["./src/components/index.ts"],
|
||||
"@app/containers": ["./src/containers/index.ts"],
|
||||
"@app/dialogs": ["./src/dialogs/index.ts"],
|
||||
"@app/forms": ["./src/forms/index.ts"],
|
||||
"@app/hooks": ["./src/hooks/index.ts"],
|
||||
"@app/images": ["./src/images/index.ts"],
|
||||
"@app/services": ["./src/services/index.ts"],
|
||||
"@app/store": ["./src/store/index.ts"],
|
||||
"@app/types": ["./src/types/index.ts"],
|
||||
"@app/websocket": ["./src/websocket/index.ts"],
|
||||
"@app/generated": ["./src/generated/index.ts"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue