RTL/package.json
continue[bot] 137400b263 Add backend unit tests for CommonService and LoggerService
- Add vitest testing framework configuration for backend TypeScript tests
- Add 59 tests for CommonService covering:
  - maskPasswords: password field masking in objects
  - removeAuthSecureData: authentication data removal
  - removeSecureData: config secure data removal
  - convertTimeToEpoch: Date to epoch conversion
  - convertTimestampToTime: epoch to formatted string conversion
  - sortAscByKey/sortDescByKey: numeric key sorting
  - sortAscByStrKey/sortDescByStrKey: string key sorting
  - newestOnTop: array reordering
  - camelCase/titleCase: string transformations
  - findNode: node lookup by index
  - getMonthDays: month day calculation with leap year support
  - isVersionCompatible: version comparison
  - handleError: error object normalization
  - getRequestIP: request IP extraction
  - runWithConcurrencyLimit: concurrent task execution
- Add 25 tests for LoggerService covering:
  - ERROR level logging with various error formats
  - WARN level logging with log level filtering
  - INFO level logging with console and file output
  - DEBUG level logging with data inclusion
  - Log message format verification

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: shahana-farooqui <shahana.farooqui@gmail.com>
2026-03-27 16:25:28 +00:00

114 lines
3.8 KiB
JSON

{
"name": "rtl",
"version": "0.15.8-beta",
"license": "MIT",
"type": "module",
"scripts": {
"ng": "ng",
"start": "ng serve --open",
"prebuildfrontendtest": "node src/prebuild.cjs",
"prebuildfrontend": "node src/prebuild.cjs",
"watchfrontenddev": "ng build --configuration development --optimization false --watch",
"buildfrontendtest": "ng test --watch=false && ng build",
"buildfrontend": "ng build --configuration production",
"buildbackend": "npx tsc --project ./server/tsconfig.server.json",
"watchbackend": "npx 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",
"test": "ng test --watch=false --browsers=ChromeHeadless",
"lint": "eslint"
},
"private": true,
"dependencies": {
"@ngrx/effects": "21.0.1",
"@ngrx/store": "21.0.1",
"@swimlane/ngx-charts": "23.1.0",
"angular-user-idle": "4.0.0",
"atob": "2.1.2",
"axios": "1.13.2",
"buffer": "6.0.3",
"cookie-parser": "1.4.7",
"crypto-browserify": "3.12.1",
"csurf": "1.11.0",
"express": "5.2.1",
"express-session": "1.18.2",
"hocon-parser": "1.0.1",
"ini": "6.0.0",
"jsonwebtoken": "9.0.3",
"ng-qrcode": "21.0.0",
"ngx-perfect-scrollbar-next": "10.1.1",
"otplib": "12.0.1",
"pdfmake": "0.3.2",
"process": "0.11.10",
"request": "2.88.2",
"request-promise": "4.2.6",
"rxjs": "7.8.2",
"sha256": "0.2.0",
"socket.io-client": "4.8.3",
"stream-browserify": "3.0.0",
"tslib": "2.8.1",
"vm-browserify": "1.1.2",
"ws": "8.19.0",
"zone.js": "0.16.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "20.3.14",
"@angular-eslint/builder": "20.7.0",
"@angular-eslint/eslint-plugin": "20.7.0",
"@angular-eslint/eslint-plugin-template": "20.7.0",
"@angular-eslint/schematics": "20.7.0",
"@angular-eslint/template-parser": "20.7.0",
"@angular/animations": "20.3.14",
"@angular/build": "20.3.14",
"@angular/cdk": "20.2.14",
"@angular/cli": "20.3.14",
"@angular/common": "20.3.14",
"@angular/compiler": "20.3.14",
"@angular/compiler-cli": "20.3.14",
"@angular/core": "20.3.14",
"@angular/flex-layout": "15.0.0-beta.42",
"@angular/forms": "20.3.14",
"@angular/material": "20.2.14",
"@angular/platform-browser": "20.3.14",
"@angular/platform-browser-dynamic": "20.3.14",
"@angular/router": "20.3.14",
"@eslint/eslintrc": "3.3.3",
"@fortawesome/angular-fontawesome": "4.0.0",
"@fortawesome/fontawesome-svg-core": "7.1.0",
"@fortawesome/free-regular-svg-icons": "7.1.0",
"@fortawesome/free-solid-svg-icons": "7.1.0",
"@ngrx/store-devtools": "21.0.1",
"@types/jasmine": "5.1.15",
"@types/node": "20.19.30",
"@typescript-eslint/eslint-plugin": "8.53.0",
"@typescript-eslint/parser": "8.53.0",
"@vitest/coverage-v8": "^4.1.2",
"dotenv": "17.2.3",
"eslint": "9.39.2",
"eslint-plugin-deprecation": "3.0.0",
"jasmine-core": "5.13.0",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"material-icons": "1.13.14",
"nodemon": "3.1.11",
"protractor": "7.0.0",
"roboto-fontface": "0.10.0",
"ts-node": "10.9.2",
"typescript": "5.8.3",
"vitest": "^4.1.2"
},
"overrides": {
"chalk": "4.1.0",
"strip-ansi": "6.0.1",
"color-convert": "2.0.1",
"color-name": "1.1.4",
"is-core-module": "2.13.0",
"error-ex": "1.3.2",
"has-ansi": "2.1.1"
}
}