mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 01:40:29 +01:00
Typescript Configuration
This commit is contained in:
parent
5523794f47
commit
aa9bf3549c
@ -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",
|
||||
|
36
server/tsconfig.server.json
Normal file
36
server/tsconfig.server.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"compileOnSave": false,
|
||||
"compilerOptions": {
|
||||
"baseUrl": "../",
|
||||
"outDir": "../backend",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": false,
|
||||
"noImplicitOverride": false,
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
"strictPropertyInitialization":false,
|
||||
"strictNullChecks": false,
|
||||
"noImplicitAny": false,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"sourceMap": false,
|
||||
"declaration": false,
|
||||
"downlevelIteration": true,
|
||||
"moduleResolution": "node",
|
||||
"importHelpers": true,
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"useDefineForClassFields": false,
|
||||
"lib": [
|
||||
"ES2022"
|
||||
],
|
||||
"paths": {
|
||||
"crypto": ["node_modules/crypto-browserify"],
|
||||
"stream": ["node_modules/stream-browserify"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"./**/*"
|
||||
]
|
||||
}
|
||||
|
@ -32,7 +32,8 @@
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"./server/**/*"
|
||||
"./server/**/*",
|
||||
"./src/**/*"
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"enableI18nLegacyMessageIdFormat": false,
|
||||
|
Loading…
Reference in New Issue
Block a user