UNPKG

@nestjs/passport

Version:

Passport for NestJS: use Passport strategies, such as local, JWT and OAuth, as injectable providers and route guards.

86 lines (85 loc) • 2.21 kB
{ "name": "@nestjs/passport", "version": "12.0.2", "description": "Passport for NestJS: use Passport strategies, such as local, JWT and OAuth, as injectable providers and route guards.", "keywords": [ "nestjs", "nest", "passport", "authentication", "auth", "strategy", "jwt", "oauth", "guard" ], "author": "Kamil Mysliwiec", "type": "module", "license": "MIT", "scripts": { "build": "rimraf dist && tsc -p tsconfig.build.json", "format": "prettier --write \"lib/**/*.ts\"", "lint": "oxlint lib/", "precommit": "lint-staged", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", "prerelease": "npm run build", "release": "release-it", "test": "vitest run", "test:watch": "vitest", "test:cov": "vitest run --coverage", "prepare": "husky" }, "files": [ "dist" ], "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "peerDependencies": { "@nestjs/common": "^11.0.0 || ^12.0.0", "passport": "^0.5.0 || ^0.6.0 || ^0.7.0" }, "devDependencies": { "@commitlint/cli": "21.2.4", "@commitlint/config-angular": "21.2.4", "@nestjs/common": "12.5.0", "@nestjs/core": "12.5.0", "@nestjs/jwt": "12.0.4", "@nestjs/platform-express": "12.5.0", "@nestjs/testing": "12.5.0", "@types/node": "24.19.2", "@types/passport": "1.0.17", "@types/passport-jwt": "4.0.1", "@types/passport-local": "1.0.38", "@vitest/coverage-v8": "^5.0.0", "husky": "9.1.7", "lint-staged": "17.6.0", "oxlint": "^1.60.0", "pactum": "3.9.1", "passport": "0.7.0", "passport-cookie": "^1.0.9", "passport-jwt": "4.0.1", "passport-local": "1.0.0", "prettier": "3.10.1", "reflect-metadata": "0.2.2", "release-it": "21.1.2", "rimraf": "6.1.4", "rxjs": "7.8.2", "typescript": "^7.0.0", "vitest": "^5.0.0" }, "lint-staged": { "**/*.{ts,json}": [] }, "repository": { "type": "git", "url": "https://github.com/nestjs/passport" } }