- Updated SHA256 checksums for the latest portal backend and frontend tar.gz files to reflect new builds. - Introduced a new development script (`dev-watch.sh`) for the BFF application to streamline TypeScript building and aliasing during development. - Refactored the `package.json` scripts in the BFF application to improve development workflow and added new watch commands. - Enhanced the Salesforce connection service to support private key handling via environment variables, improving security and flexibility in configuration.
76 lines
2.8 KiB
JSON
76 lines
2.8 KiB
JSON
{
|
|
"name": "@customer-portal/bff",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Backend for Frontend API",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "nest build && tsc-alias -p tsconfig.build.json --resolve-full-paths",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "nest start",
|
|
"predev": "nest build && tsc-alias -p tsconfig.build.json --resolve-full-paths",
|
|
"dev": "bash ./scripts/dev-watch.sh",
|
|
"dev:build:watch": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
"dev:alias": "tsc-alias -p tsconfig.build.json --resolve-full-paths",
|
|
"dev:alias:watch": "tsc-alias -p tsconfig.build.json --resolve-full-paths -w",
|
|
"dev:run:watch": "node --watch dist/main.js",
|
|
"dev:run:debug:watch": "node --inspect --watch dist/main.js",
|
|
"start:debug": "BFF_NODE_RUN_SCRIPT=dev:run:debug:watch bash ./scripts/dev-watch.sh",
|
|
"start:prod": "node dist/main.js",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test": "node --test",
|
|
"type-check": "tsc --project tsconfig.json --noEmit",
|
|
"type-check:watch": "tsc --project tsconfig.json --noEmit --watch",
|
|
"clean": "rm -rf dist .typecheck tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
|
|
"db:migrate": "prisma migrate dev --config prisma/prisma.config.ts",
|
|
"db:generate": "prisma generate --config prisma/prisma.config.ts",
|
|
"db:studio": "prisma studio --port 5555 --config prisma/prisma.config.ts",
|
|
"db:reset": "prisma migrate reset --config prisma/prisma.config.ts",
|
|
"db:seed": "tsx prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@customer-portal/domain": "workspace:*",
|
|
"@nestjs/bullmq": "^11.0.4",
|
|
"@nestjs/common": "^11.1.9",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.1.9",
|
|
"@nestjs/platform-express": "^11.1.9",
|
|
"@prisma/adapter-pg": "^7.1.0",
|
|
"@prisma/client": "^7.1.0",
|
|
"@sendgrid/mail": "^8.1.6",
|
|
"argon2": "^0.44.0",
|
|
"bullmq": "^5.65.1",
|
|
"cookie-parser": "^1.4.7",
|
|
"helmet": "^8.1.0",
|
|
"ioredis": "^5.8.2",
|
|
"jose": "^6.0.11",
|
|
"jsforce": "^3.10.10",
|
|
"nestjs-pino": "^4.5.0",
|
|
"nestjs-zod": "^5.0.1",
|
|
"p-queue": "^9.0.1",
|
|
"pg": "^8.16.3",
|
|
"prisma": "^7.1.0",
|
|
"rate-limiter-flexible": "^9.0.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.2",
|
|
"salesforce-pubsub-api-client": "^5.5.1",
|
|
"ssh2-sftp-client": "^12.0.1",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^11.0.14",
|
|
"@nestjs/schematics": "^11.0.9",
|
|
"@nestjs/testing": "^11.1.9",
|
|
"@types/cookie-parser": "^1.4.10",
|
|
"@types/express": "^5.0.6",
|
|
"@types/pg": "^8.16.0",
|
|
"@types/ssh2-sftp-client": "^9.0.6",
|
|
"pino-pretty": "^13.1.3",
|
|
"tsc-alias": "^1.8.16",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|