Files
epess-web-backend/package.json
Ly Tuan Kiet 9e6d62e4be chore: update package dependencies and improve pub/sub iterator usage
- Updated various package dependencies in package-lock.json and package.json for enhanced stability and performance.
- Changed pub/sub iterator methods from `asyncIterator` to `asyncIterableIterator` in multiple schema files for better compatibility with the latest GraphQL subscriptions.
- Added `moduleResolution` option in tsconfig.json to support Node.js-style module resolution.
2024-12-08 20:38:09 +07:00

161 lines
5.3 KiB
JSON

{
"name": "epess-web-backend",
"version": "0.0.1",
"description": "",
"author": "@tuankiet2s",
"private": true,
"license": "UNLICENSED",
"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",
"prisma:generate": "npx prisma generate --schema=./epess-database/prisma/schema.prisma",
"prisma:generate:prod": "npx prisma generate",
"prisma:migrate": "npx prisma migrate dev --schema=./epess-database/prisma/schema.prisma",
"prisma:push": "npx prisma db push --schema=./epess-database/prisma/schema.prisma",
"prisma:reset": "npx prisma migrate reset --schema=./epess-database/prisma/schema.prisma",
"prisma:seed": "npx prisma db seed --schema=./epess-database/prisma/schema.prisma",
"prisma:format": "npx prisma format --schema=./epess-database/prisma/schema.prisma",
"prisma:studio": "dotenv -e .env -- npx prisma studio --schema=./epess-database/prisma/schema.prisma",
"biome:check": "biome check",
"biome:fix": "biome fix --write",
"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",
"codegen": "graphql-codegen --config codegen.ts"
},
"dependencies": {
"@apollo/server": "^4.11.2",
"@clerk/express": "^1.3.23",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
"@livekit/rtc-node": "^0.12.1",
"@nestjs-modules/mailer": "^1.6.1",
"@nestjs/apollo": "^12.2.2",
"@nestjs/axios": "^3.1.3",
"@nestjs/common": "^10.4.13",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.13",
"@nestjs/devtools-integration": "^0.1.6",
"@nestjs/event-emitter": "^2.1.1",
"@nestjs/graphql": "^12.2.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/platform-express": "^10.4.13",
"@nestjs/schedule": "^4.1.1",
"@nestjs/swagger": "^8.1.0",
"@payos/node": "^1.0.10",
"@pothos/core": "4.3.0",
"@pothos/plugin-add-graphql": "4.2.1",
"@pothos/plugin-authz": "3.5.10",
"@pothos/plugin-errors": "4.2.0",
"@pothos/plugin-prisma": "4.4.0",
"@pothos/plugin-prisma-utils": "1.2.0",
"@pothos/plugin-relay": "4.3.0",
"@pothos/plugin-scope-auth": "4.1.1",
"@pothos/plugin-simple-objects": "4.1.0",
"@pothos/plugin-smart-subscriptions": "4.1.1",
"@pothos/plugin-zod": "4.1.0",
"@prisma/client": "^6.0.1",
"@smatch-corp/nestjs-pothos": "0.3.0",
"@smatch-corp/nestjs-pothos-apollo-driver": "0.1.0",
"apollo-server-express": "^3.13.0",
"axios": "1.7.9",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"epess-web-backend": "file:",
"graphql": "16.9.0",
"graphql-redis-subscriptions": "^2.6.1",
"graphql-scalars": "^1.24.0",
"graphql-subscriptions": "^3.0.0",
"graphql-tools": "9.0.6",
"graphql-upload": "17.0.0",
"graphql-ws": "^5.16.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"livekit-server-sdk": "2.9.3",
"luxon": "^3.5.0",
"minio": "8.0.2",
"nestjs-minio": "2.6.2",
"nodemailer": "^6.9.16",
"openai": "^4.76.0",
"passport-jwt": "^4.0.1",
"quill": "^2.0.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"swagger-ui-express": "^5.0.1",
"tsimportlib": "^0.0.5",
"type-graphql": "^2.0.0-rc.2",
"yjs": "^13.6.20",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@clerk/types": "^4.39.0",
"@faker-js/faker": "^9.3.0",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.5.1",
"@graphql-codegen/typescript": "4.1.2",
"@graphql-codegen/typescript-resolvers": "4.4.1",
"@nestjs/cli": "^10.4.8",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.13",
"@swc/cli": "^0.5.2",
"@swc/core": "^1.10.0",
"@types/bcryptjs": "^2.4.6",
"@types/express": "^5.0.0",
"@types/graphql-upload": "^17.0.0",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/luxon": "^3.4.2",
"@types/node": "^22.10.1",
"@types/nodemailer": "^6.4.17",
"@types/passport-jwt": "^4.0.1",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.13",
"globals": "^15.13.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"prisma": "^6.0.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2",
"ws": "^8.18.0"
},
"optionalDependencies": {
"@css-inline/css-inline-linux-x64-musl": "^0.14.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"prisma": {
"seed": "node ../epess-database/prisma/seed.js"
}
}