UNPKG

@wristband/nestjs-auth

Version:

SDK for integrating your NestJS application with Wristband. Handles user authentication and token management.

103 lines (102 loc) 2.75 kB
{ "name": "@wristband/nestjs-auth", "description": "SDK for integrating your NestJS application with Wristband. Handles user authentication and token management.", "author": "Wristband", "version": "1.0.0-rc12", "license": "MIT", "private": false, "homepage": "https://wristband.dev", "repository": { "type": "git", "url": "git@github.com:wristband-dev/nestjs-auth.git" }, "bugs": { "email": "support@wristband.dev" }, "engines": { "node": ">=18.12.1", "npm": ">=8.19.2" }, "source": "./libs/nestjs-auth/src", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.js", "exports": { "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js", "import": "./dist/esm/index.js" }, "files": [ "dist", "LICENSE.md", "README.md", "package.json" ], "publishConfig": { "access": "public" }, "keywords": [ "nestjs", "expressjs", "nodejs", "typescript", "authentication", "multi-tenant", "multi-tenancy", "secure", "security", "jwt", "api", "oidc", "oauth", "wristband", "sdk" ], "scripts": { "build": "npm run clean && mkdir dist && npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "tsc -p config/tsconfig.cjs.json", "build:esm": "tsc -p config/tsconfig.esm.json", "build:types": "tsc -p config/tsconfig.types.json", "clean": "rm -rf dist", "lint": "eslint .", "lint:fix": "eslint . --fix", "package": "npm run build && npm pack", "prepublishOnly": "pinst --disable", "_postinstall": "husky install", "postpublish": "pinst --enable", "test": "jest --no-cache --runInBand", "test:cov": "jest --coverage --no-cache --runInBand" }, "dependencies": { "@wristband/express-auth": "^4.1.0" }, "peerDependencies": { "@nestjs/common": "^10.0.0 || ^11.0.0", "@nestjs/config": "^3.0.0 || ^4.0.0", "@nestjs/core": "^10.0.0 || ^11.0.0" }, "devDependencies": { "@eslint/js": "^9.10.0", "@nestjs/cli": "^11.0.5", "@nestjs/schematics": "^11.0.2", "@nestjs/testing": "^11.0.12", "@types/express": "^4.17.21", "@types/jest": "^29.5.13", "@types/node": "^22.5.5", "@typescript-eslint/eslint-plugin": "^8.17.0", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "globals": "^15.9.0", "husky": "^9.1.6", "jest": "^29.7.0", "pinst": "^3.0.0", "prettier": "^3.3.3", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.6.2", "typescript-eslint": "^8.17.0" } }