UNPKG

@katalysttech/auth

Version:

A flexible authentication module for NestJS applications with JWT and refresh token support

107 lines (106 loc) 2.95 kB
{ "name": "@katalysttech/auth", "version": "1.0.41", "description": "A flexible authentication module for NestJS applications with JWT and refresh token support", "main": "dist/index.js", "types": "dist/index.d.ts", "private": false, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "rimraf dist && tsc -p tsconfig.build.json", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix", "prepublishOnly": "npm run build", "publish:public": "npm publish --access public", "publish:beta": "npm publish --tag beta --access public", "publish:dry": "npm publish --dry-run", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "release:patch": "npm run version:patch && npm run publish:public", "release:minor": "npm run version:minor && npm run publish:public", "release:major": "npm run version:major && npm run publish:public", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage" }, "keywords": [ "nestjs", "authentication", "jwt", "refresh-token", "auth", "typescript", "katalysttech" ], "author": "KatalystTech", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/katalysttech/auth.git" }, "bugs": { "url": "https://github.com/katalysttech/auth/issues" }, "homepage": "https://github.com/katalysttech/auth#readme", "peerDependencies": { "@nestjs/common": "^10.0.0 || ^11.0.0", "@nestjs/core": "^10.0.0 || ^11.0.0", "@nestjs/jwt": "^10.0.0 || ^11.0.0", "reflect-metadata": "^0.1.13 || ^0.2.0", "rxjs": "^7.8.0", "typeorm": "^0.3.0", "ioredis": "^5.0.0" }, "peerDependenciesMeta": { "typeorm": { "optional": true }, "ioredis": { "optional": true } }, "dependencies": { "bcrypt": "^5.1.1" }, "devDependencies": { "@nestjs/common": "^11.0.0", "@nestjs/core": "^11.0.0", "@nestjs/jwt": "^11.0.0", "@nestjs/testing": "^11.0.0", "@types/bcrypt": "^5.0.2", "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", "reflect-metadata": "^0.2.0", "rimraf": "^5.0.0", "ts-jest": "^29.1.0", "typescript": "^5.0.0" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" } }