mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
TSConfig updates for VSCode errors
This commit is contained in:
parent
3534e602f2
commit
4a91dbc1c1
3 changed files with 14 additions and 4 deletions
|
|
@ -10,8 +10,8 @@
|
|||
"prebuildfrontend": "node src/prebuild.cjs",
|
||||
"buildfrontendtest": "ng test --watch=false && ng build",
|
||||
"buildfrontend": "ng build --configuration production",
|
||||
"buildbackend": "tsc --project tsconfig.json",
|
||||
"watchbackend": "tsc --project tsconfig.json --watch",
|
||||
"buildbackend": "tsc --project ./server/tsconfig.server.json",
|
||||
"watchbackend": "tsc --project ./server/tsconfig.server.json --watch",
|
||||
"server": "set NODE_ENV=development&&nodemon --watch backend --watch server ./rtl.js",
|
||||
"serverUbuntu": "NODE_ENV=development nodemon --watch backend --watch server ./rtl.js",
|
||||
"testdev": "ng test --watch=true --code-coverage",
|
||||
|
|
|
|||
10
server/tsconfig.server.json
Normal file
10
server/tsconfig.server.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compileOnSave": true,
|
||||
"compilerOptions": {
|
||||
"outDir": "../backend",
|
||||
},
|
||||
"include": [
|
||||
"./**/*"
|
||||
]
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
"compileOnSave": false,
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"outDir": "./backend",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": false,
|
||||
|
|
@ -32,7 +31,8 @@
|
|||
}
|
||||
},
|
||||
"include": [
|
||||
"./server/**/*"
|
||||
"./server/**/*",
|
||||
"./src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"typings/*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue