{ "name": "server", "version": "0.0.1", "description": "", "author": "", "private": true, "license": "", "scripts": { "build": "nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", "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", "typeorm": "typeorm-ts-node-commonjs -d src/database/typeorm.config.ts", "migration:generate": "cd ./src/database/migrations/ && pnpm run typeorm migration:generate", "migration:create": "cd ./src/database/migrations/ && typeorm-ts-node-commonjs migration:create", "migration:run": "pnpm run typeorm migration:run", "migration:revert": "pnpm run typeorm migration:revert", "migration:show": "pnpm run typeorm migration:show" }, "dependencies": { "@aws-sdk/client-s3": "^3.456.0", "@aws-sdk/s3-request-presigner": "^3.456.0", "@fastify/multipart": "^8.1.0", "@fastify/static": "^6.12.0", "@nestjs/common": "^10.3.0", "@nestjs/config": "^3.1.1", "@nestjs/core": "^10.3.0", "@nestjs/jwt": "^10.2.0", "@nestjs/mapped-types": "^2.0.4", "@nestjs/platform-fastify": "^10.3.0", "@nestjs/platform-socket.io": "^10.3.0", "@nestjs/serve-static": "^4.0.0", "@nestjs/typeorm": "^10.0.1", "@nestjs/websockets": "^10.3.0", "bcrypt": "^5.1.1", "bytes": "^3.1.2", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "fastify": "^4.25.2", "fs-extra": "^11.1.1", "mime-types": "^2.1.35", "pg": "^8.11.3", "reflect-metadata": "^0.1.13", "rxjs": "^7.8.1", "sanitize-filename-ts": "^1.0.2", "slugify": "^1.6.6", "socket.io": "^4.7.2", "typeorm": "^0.3.17", "uuid": "^9.0.1", "ws": "^8.14.2" }, "devDependencies": { "@nestjs/cli": "^10.2.1", "@nestjs/schematics": "^10.0.3", "@nestjs/testing": "^10.3.0", "@types/bcrypt": "^5.0.2", "@types/bytes": "^3.1.4", "@types/debounce": "^1.2.4", "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.10", "@types/mime-types": "^2.1.4", "@types/node": "^20.10.0", "@types/supertest": "^2.0.16", "@types/uuid": "^9.0.7", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "eslint": "^8.54.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.7.0", "prettier": "^2.8.8", "source-map-support": "^0.5.21", "supertest": "^6.3.3", "ts-jest": "^29.1.1", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", "typescript": "^5.3.2" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" } }