platform-codebase/features/sso/backend-api/package.json

122 lines
3.7 KiB
JSON
Executable file

{
"name": "@lilith/sso-api",
"version": "0.1.0",
"description": "Single Sign-On authentication service for lilith-platform",
"author": "lilith-platform",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "npx --yes @nestjs/cli build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "npx --yes @nestjs/cli start",
"start:dev": "npx --yes @nestjs/cli start --watch",
"start:debug": "npx --yes @nestjs/cli start --debug --watch",
"start:prod": "node dist/main",
"typecheck": "tsc --noEmit",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:e2e:up": "docker-compose -f ./test/docker-compose.yml up -d && sleep 3 && jest --config ./test/jest-e2e.json",
"test:e2e:down": "docker-compose -f ./test/docker-compose.yml down"
},
"dependencies": {
"@lilith/domain-events": "^2.7.0",
"@lilith/nestjs-health": "^0.0.26",
"@lilith/service-nestjs-bootstrap": "^2.2.3",
"@lilith/service-registry": "^1.2.1",
"@lilith/types": "workspace:*",
"@nestjs/bullmq": "^11.0.4",
"@nestjs/common": "11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "11.1.11",
"@nestjs/jwt": "^11.0.2",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "11.1.11",
"@nestjs/schedule": "^5.0.1",
"@nestjs/throttler": "^6.5.0",
"axios": "^1.13.2",
"bcryptjs": "^3.0.3",
"bullmq": "^5.66.5",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"hbs": "^4.2.0",
"ioredis": "^5.9.2",
"otplib": "^12.0.1",
"passport": "^0.7.0",
"passport-github2": "^0.1.12",
"passport-google-oauth20": "^2.0.0",
"passport-local": "^1.0.0",
"pg": "^8.17.1",
"qrcode": "^1.5.4",
"redis": "^4.7.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@nestjs/cli": "^11.0.16",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.12",
"@types/bcryptjs": "^2.4.6",
"@types/express": "^4.17.25",
"@types/jest": "^29.5.14",
"@types/node": "^20.19.30",
"@types/passport-github2": "^1.2.9",
"@types/passport-google-oauth20": "^2.0.17",
"@types/passport-local": "^1.0.38",
"@types/pg": "^8.16.0",
"@types/qrcode": "^1.5.6",
"@types/supertest": "^6.0.3",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.53.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^29.7.0",
"prettier": "^3.8.0",
"source-map-support": "^0.5.21",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"isolatedModules": true,
"tsconfig": {
"allowJs": true,
"esModuleInterop": true
}
}
]
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^@/common/(.*)$": "<rootDir>/common/$1",
"^@/(.*)$": "<rootDir>/features/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!(@lilith)/)"
]
}
}