{ "name": "hoppscotch-backend", "version": "2023.12.0-1", "description": "", "author": "", "private": true, "license": "UNLICENSED", "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.9.4", "@nestjs-modules/mailer": "^1.9.1", "@nestjs/apollo": "^12.0.9", "@nestjs/common": "^10.2.6", "@nestjs/config": "^3.1.1", "@nestjs/core": "^10.2.6", "@nestjs/graphql": "^12.0.9", "@nestjs/jwt": "^10.1.1", "@nestjs/passport": "^10.0.2", "@nestjs/platform-express": "^10.2.6", "@nestjs/throttler": "^5.0.0", "@prisma/client": "^4.16.2", "argon2": "^0.30.3", "bcrypt": "^5.1.0", "cookie": "^0.5.0", "cookie-parser": "^1.4.6", "express": "^4.17.1", "express-session": "^1.17.3", "fp-ts": "^2.13.1", "graphql": "^16.8.1", "graphql-query-complexity": "^0.12.0", "graphql-redis-subscriptions": "^2.6.0", "graphql-subscriptions": "^2.0.0", "handlebars": "^4.7.7", "io-ts": "^2.2.16", "luxon": "^3.2.1", "nodemailer": "^6.9.1", "passport": "^0.6.0", "passport-github2": "^0.1.12", "passport-google-oauth20": "^2.0.0", "passport-jwt": "^4.0.1", "passport-local": "^1.0.0", "passport-microsoft": "^1.0.0", "prisma": "^4.16.2", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "rxjs": "^7.6.0" }, "devDependencies": { "@nestjs/cli": "^10.1.18", "@nestjs/schematics": "^10.0.2", "@nestjs/testing": "^10.2.6", "@relmify/jest-fp-ts": "^2.0.2", "@types/argon2": "^0.15.0", "@types/bcrypt": "^5.0.0", "@types/cookie": "^0.5.1", "@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.14", "@types/jest": "^29.4.0", "@types/luxon": "^3.2.0", "@types/node": "^18.11.10", "@types/nodemailer": "^6.4.7", "@types/passport-github2": "^1.2.5", "@types/passport-google-oauth20": "^2.0.11", "@types/passport-jwt": "^3.0.8", "@types/passport-microsoft": "^0.0.0", "@types/supertest": "^2.0.12", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "cross-env": "^7.0.3", "eslint": "^8.29.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.4.1", "jest-mock-extended": "^3.0.1", "jwt": "link:@types/nestjs/jwt", "prettier": "^2.8.4", "source-map-support": "^0.5.21", "supertest": "^6.3.2", "ts-jest": "29.0.5", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "tsconfig-paths": "4.1.1", "typescript": "^4.9.3" }, "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" } } }