2025-08-20 18:02:50 +09:00
|
|
|
{
|
|
|
|
|
"name": "@customer-portal/bff",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "Backend for Frontend API",
|
|
|
|
|
"author": "",
|
|
|
|
|
"private": true,
|
|
|
|
|
"license": "UNLICENSED",
|
|
|
|
|
"scripts": {
|
2025-09-26 15:51:07 +09:00
|
|
|
"build": "nest build",
|
2025-08-20 18:02:50 +09:00
|
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
|
"start": "nest start",
|
2025-09-26 18:28:47 +09:00
|
|
|
"predev": "nest build",
|
|
|
|
|
"dev": "nest start --watch --preserveWatchOutput",
|
2025-09-26 15:51:07 +09:00
|
|
|
"start:debug": "nest start --debug --watch",
|
2025-08-20 18:02:50 +09:00
|
|
|
"start:prod": "node dist/main",
|
2025-09-26 15:51:07 +09:00
|
|
|
"lint": "eslint .",
|
|
|
|
|
"lint:fix": "eslint . --fix",
|
|
|
|
|
"test": "jest",
|
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
|
"test:cov": "jest --coverage",
|
2025-08-20 18:02:50 +09:00
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
2025-09-26 15:51:07 +09:00
|
|
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
|
|
|
"type-check": "tsc --project tsconfig.json --noEmit",
|
|
|
|
|
"type-check:watch": "tsc --project tsconfig.json --noEmit --watch",
|
2025-09-26 16:30:00 +09:00
|
|
|
"clean": "rm -rf dist tsconfig.build.tsbuildinfo",
|
2025-08-20 18:02:50 +09:00
|
|
|
"db:migrate": "prisma migrate dev",
|
|
|
|
|
"db:generate": "prisma generate",
|
|
|
|
|
"db:studio": "prisma studio",
|
|
|
|
|
"db:reset": "prisma migrate reset",
|
2025-10-02 17:19:39 +09:00
|
|
|
"db:seed": "NODE_OPTIONS=\"--max-old-space-size=4096\" tsx prisma/seed.ts"
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-09-17 18:43:43 +09:00
|
|
|
"@customer-portal/domain": "workspace:*",
|
|
|
|
|
"@customer-portal/logging": "workspace:*",
|
2025-08-20 18:02:50 +09:00
|
|
|
"@nestjs/bullmq": "^11.0.3",
|
|
|
|
|
"@nestjs/common": "^11.1.6",
|
|
|
|
|
"@nestjs/config": "^4.0.2",
|
|
|
|
|
"@nestjs/core": "^11.1.6",
|
|
|
|
|
"@nestjs/jwt": "^11.0.0",
|
|
|
|
|
"@nestjs/passport": "^11.0.5",
|
|
|
|
|
"@nestjs/platform-express": "^11.1.6",
|
|
|
|
|
"@nestjs/throttler": "^6.4.0",
|
|
|
|
|
"@prisma/client": "^6.14.0",
|
2025-09-26 15:51:07 +09:00
|
|
|
"@sendgrid/mail": "^8.1.6",
|
2025-08-20 18:02:50 +09:00
|
|
|
"bcrypt": "^6.0.0",
|
|
|
|
|
"bullmq": "^5.58.0",
|
|
|
|
|
"class-transformer": "^0.5.1",
|
|
|
|
|
"class-validator": "^0.14.2",
|
|
|
|
|
"cookie-parser": "^1.4.7",
|
2025-09-26 15:51:07 +09:00
|
|
|
"express": "^5.1.0",
|
2025-08-20 18:02:50 +09:00
|
|
|
"helmet": "^8.1.0",
|
|
|
|
|
"ioredis": "^5.7.0",
|
|
|
|
|
"jsforce": "^3.10.4",
|
|
|
|
|
"jsonwebtoken": "^9.0.2",
|
2025-08-21 15:24:40 +09:00
|
|
|
"nestjs-pino": "^4.4.0",
|
2025-09-24 18:00:49 +09:00
|
|
|
"nestjs-zod": "^5.0.1",
|
2025-09-26 15:51:07 +09:00
|
|
|
"p-queue": "^7.4.1",
|
2025-08-20 18:02:50 +09:00
|
|
|
"passport": "^0.7.0",
|
|
|
|
|
"passport-jwt": "^4.0.1",
|
|
|
|
|
"passport-local": "^1.0.0",
|
2025-08-21 15:24:40 +09:00
|
|
|
"pino": "^9.9.0",
|
|
|
|
|
"pino-http": "^10.5.0",
|
|
|
|
|
"pino-pretty": "^13.1.1",
|
2025-10-02 18:47:30 +09:00
|
|
|
"rate-limiter-flexible": "^4.0.1",
|
2025-08-20 18:02:50 +09:00
|
|
|
"reflect-metadata": "^0.2.2",
|
|
|
|
|
"rxjs": "^7.8.2",
|
2025-09-20 11:35:40 +09:00
|
|
|
"salesforce-pubsub-api-client": "^5.5.0",
|
2025-08-20 18:02:50 +09:00
|
|
|
"speakeasy": "^2.0.0",
|
2025-09-26 15:51:07 +09:00
|
|
|
"uuid": "^13.0.0",
|
2025-09-25 17:01:47 +09:00
|
|
|
"zod": "^4.1.9"
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@nestjs/cli": "^11.0.10",
|
|
|
|
|
"@nestjs/schematics": "^11.0.7",
|
|
|
|
|
"@nestjs/testing": "^11.1.6",
|
|
|
|
|
"@types/bcrypt": "^6.0.0",
|
|
|
|
|
"@types/cookie-parser": "^1.4.9",
|
|
|
|
|
"@types/express": "^5.0.3",
|
|
|
|
|
"@types/jest": "^30.0.0",
|
2025-09-01 16:45:12 +09:00
|
|
|
"@types/jsonwebtoken": "^9.0.10",
|
2025-08-20 18:02:50 +09:00
|
|
|
"@types/node": "^24.3.0",
|
|
|
|
|
"@types/passport-jwt": "^4.0.1",
|
|
|
|
|
"@types/passport-local": "^1.0.38",
|
|
|
|
|
"@types/speakeasy": "^2.0.10",
|
|
|
|
|
"@types/supertest": "^6.0.3",
|
2025-09-26 15:51:07 +09:00
|
|
|
"@types/uuid": "^11.0.0",
|
2025-08-20 18:02:50 +09:00
|
|
|
"jest": "^30.0.5",
|
2025-09-01 16:45:12 +09:00
|
|
|
"prisma": "^6.14.0",
|
2025-08-20 18:02:50 +09:00
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
|
"supertest": "^7.1.4",
|
|
|
|
|
"ts-jest": "^29.4.1",
|
2025-09-26 18:28:47 +09:00
|
|
|
"ts-loader": "^9.5.4",
|
2025-08-20 18:02:50 +09:00
|
|
|
"ts-node": "^10.9.2",
|
|
|
|
|
"tsconfig-paths": "^4.2.0",
|
2025-09-20 11:35:40 +09:00
|
|
|
"tsx": "^4.19.2",
|
2025-09-26 18:28:47 +09:00
|
|
|
"ttypescript": "^1.5.15",
|
|
|
|
|
"typescript": "^5.9.2",
|
|
|
|
|
"typescript-transform-paths": "^3.5.5"
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
|
"js",
|
|
|
|
|
"json",
|
|
|
|
|
"ts"
|
|
|
|
|
],
|
|
|
|
|
"rootDir": "src",
|
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
2025-09-19 16:34:10 +09:00
|
|
|
"maxWorkers": "50%",
|
2025-08-20 18:02:50 +09:00
|
|
|
"transform": {
|
2025-09-19 16:34:10 +09:00
|
|
|
"^.+\\.(t|j)s$": [
|
|
|
|
|
"ts-jest",
|
|
|
|
|
{
|
|
|
|
|
"diagnostics": false,
|
|
|
|
|
"isolatedModules": true,
|
2025-09-20 11:35:40 +09:00
|
|
|
"tsconfig": {
|
|
|
|
|
"isolatedModules": true
|
|
|
|
|
}
|
2025-09-19 16:34:10 +09:00
|
|
|
}
|
|
|
|
|
]
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
|
"**/*.(t|j)s",
|
|
|
|
|
"!**/*.spec.ts",
|
|
|
|
|
"!**/node_modules/**"
|
|
|
|
|
],
|
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
|
"testEnvironment": "node",
|
|
|
|
|
"moduleNameMapper": {
|
|
|
|
|
"^@/(.*)$": "<rootDir>/$1"
|
|
|
|
|
},
|
|
|
|
|
"passWithNoTests": true
|
|
|
|
|
}
|
2025-09-09 18:19:54 +09:00
|
|
|
}
|