TSConfig updates for VSCode errors

cln-peer-swap
ShahanaFarooqui 10 months ago
parent 3534e602f2
commit 4a91dbc1c1

@ -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",

@ -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…
Cancel
Save