{ "name": "hoppscotch-backend", "version": "2024.10.2", "description": "", "author": "", "private": true, "license": "UNLICENSED", "files": [ "prisma", "dist" ], "scripts": { "prebuild": "rimraf dist", "build": "nest build", "generate-gql-sdl": "cross-env GQL_SCHEMA_EMIT_LOCATION='../../../gql-gen/backend-schema.gql' GENERATE_GQL_SCHEMA=true WHITELISTED_ORIGINS='' nest start", "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", "postinstall": "prisma generate && pnpm run generate-gql-sdl", "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", "do-test": "pnpm run test" }, "dependencies": { "@apollo/server": "4.11.0", "@nestjs-modules/mailer": "2.0.2", "@nestjs/apollo": "12.2.0", "@nestjs/common": "10.4.4", "@nestjs/config": "3.2.3", "@nestjs/core": "10.4.4", "@nestjs/graphql": "12.2.0", "@nestjs/jwt": "10.2.0", "@nestjs/passport": "10.0.3", "@nestjs/platform-express": "10.4.4", "@nestjs/schedule": "4.1.1", "@nestjs/swagger": "7.4.2", "@nestjs/terminus": "10.2.3", "@nestjs/throttler": "6.2.1", "@prisma/client": "5.20.0", "argon2": "0.41.1", "bcrypt": "5.1.1", "class-transformer": "0.5.1", "class-validator": "0.14.1", "cookie": "1.0.0", "cookie-parser": "1.4.7", "cron": "3.1.7", "express": "4.21.1", "express-session": "1.18.1", "fp-ts": "2.16.9", "graphql": "16.9.0", "graphql-query-complexity": "1.0.0", "graphql-redis-subscriptions": "2.6.1", "graphql-subscriptions": "2.0.0", "handlebars": "4.7.8", "io-ts": "2.2.21", "luxon": "3.5.0", "nodemailer": "6.9.15", "passport": "0.7.0", "passport-github2": "0.1.12", "passport-google-oauth20": "2.0.0", "passport-jwt": "4.0.1", "passport-local": "1.0.0", "passport-microsoft": "2.1.0", "posthog-node": "4.2.0", "prisma": "5.20.0", "reflect-metadata": "0.2.2", "rimraf": "6.0.1", "rxjs": "7.8.1" }, "devDependencies": { "@nestjs/cli": "10.4.5", "@nestjs/schematics": "10.1.4", "@nestjs/testing": "10.4.4", "@relmify/jest-fp-ts": "2.1.1", "@types/bcrypt": "5.0.2", "@types/cookie": "0.6.0", "@types/cookie-parser": "1.4.7", "@types/express": "5.0.0", "@types/jest": "29.5.13", "@types/luxon": "3.4.2", "@types/node": "22.7.5", "@types/nodemailer": "6.4.16", "@types/passport-github2": "1.2.9", "@types/passport-google-oauth20": "2.0.16", "@types/passport-jwt": "4.0.1", "@types/passport-microsoft": "1.0.3", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "8.8.1", "@typescript-eslint/parser": "8.8.1", "cross-env": "7.0.3", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", "jest": "29.7.0", "jest-mock-extended": "4.0.0-beta1", "jwt": "link:@types/nestjs/jwt", "prettier": "3.3.3", "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.5.4" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "setupFilesAfterEnv": [ "../jest.setup.js" ], "preset": "ts-jest", "clearMocks": true, "collectCoverage": true, "coverageDirectory": "coverage", "coverageProvider": "v8", "rootDir": "src", "moduleNameMapper": { "^src/(.*)$": "/$1" } } }