837f0fa63f
Close deployment IDOR and gate stub payment endpoints, add production secret validation, health probes, Redis-backed build progress, GitHub Actions CI, expanded tests, billing/k8s refactors, and ops runbooks. Co-authored-by: Cursor <cursoragent@cursor.com>
97 lines
2.9 KiB
JSON
97 lines
2.9 KiB
JSON
{
|
|
"name": "cloudhost-backend",
|
|
"version": "1.0.0",
|
|
"description": "CloudHost PaaS Backend API",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "eslint \"src/**/*.ts\" --fix",
|
|
"lint:check": "eslint \"src/**/*.ts\"",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
|
|
"migration:generate": "npm run typeorm -- migration:generate -d src/config/typeorm.config.ts",
|
|
"migration:run": "npm run typeorm -- migration:run -d src/config/typeorm.config.ts",
|
|
"migration:revert": "npm run typeorm -- migration:revert -d src/config/typeorm.config.ts",
|
|
"seed": "ts-node -r tsconfig-paths/register src/seed.ts",
|
|
"sync:migrations": "node scripts/sync-helm-migrations.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@kubernetes/client-node": "^1.4.0",
|
|
"@nestjs/bull": "^11.0.4",
|
|
"@nestjs/common": "^11.1.24",
|
|
"@nestjs/config": "^4.0.4",
|
|
"@nestjs/core": "^11.1.26",
|
|
"@nestjs/jwt": "^11.0.2",
|
|
"@nestjs/passport": "^11.0.5",
|
|
"@nestjs/platform-express": "^11.1.26",
|
|
"@nestjs/swagger": "^11.4.4",
|
|
"@nestjs/throttler": "^6.5.0",
|
|
"@nestjs/typeorm": "^11.0.1",
|
|
"bcrypt": "^6.0.0",
|
|
"bull": "^4.12.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.15.1",
|
|
"handlebars": "^4.7.8",
|
|
"helmet": "^8.2.0",
|
|
"ioredis": "^5.11.1",
|
|
"js-yaml": "^4.2.0",
|
|
"multer": "^2.1.1",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"pg": "^8.21.0",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.2",
|
|
"typeorm": "^1.0.0",
|
|
"uuid": "^14.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^11.0.23",
|
|
"@nestjs/schematics": "^11.1.0",
|
|
"@nestjs/testing": "^11.1.26",
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/multer": "^2.1.0",
|
|
"@types/node": "^24.0.0",
|
|
"@types/passport-jwt": "^4.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
"@typescript-eslint/parser": "^8.61.0",
|
|
"eslint": "^9.0.0",
|
|
"jest": "^30.4.2",
|
|
"prettier": "^3.8.4",
|
|
"ts-jest": "^29.4.11",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^6.0.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/test-setup.ts"
|
|
]
|
|
}
|
|
}
|