{
  "name": "redis-otp-manager",
  "version": "1.6.1",
  "description": "Lightweight, Redis-backed OTP manager for Node.js apps",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/prakashu51/otp-generator.git"
  },
  "homepage": "https://github.com/prakashu51/otp-generator#readme",
  "bugs": {
    "url": "https://github.com/prakashu51/otp-generator/issues"
  },
  "license": "MIT",
  "author": "Prakash",
  "type": "module",
  "main": "./dist/cjs/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/cjs/index.js",
      "default": "./dist/index.js"
    },
    "./nest": {
      "types": "./dist/integrations/nest/index.d.ts",
      "import": "./dist/integrations/nest/index.js",
      "require": "./dist/cjs/integrations/nest/index.js",
      "default": "./dist/integrations/nest/index.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
    "build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node scripts/prepare-cjs.cjs",
    "test": "tsx --test test/*.test.ts",
    "check": "npm run build && npm run test && npm run test:compat",
    "prepublishOnly": "npm run build",
    "test:compat": "node scripts/smoke-esm.mjs && node scripts/smoke-cjs.cjs",
    "test:redis": "tsx --test test/redis.integration.test.ts"
  },
  "keywords": [
    "otp",
    "redis",
    "nodejs",
    "nestjs",
    "authentication",
    "security",
    "verification",
    "one-time-password",
    "token",
    "verification-token",
    "email-verification",
    "magic-link",
    "passwordless",
    "rate-limiting",
    "typescript"
  ],
  "engines": {
    "node": ">=18"
  },
  "publishConfig": {
    "access": "public"
  },
  "peerDependencies": {
    "@nestjs/common": "^10.0.0 || ^11.0.0",
    "@nestjs/core": "^10.0.0 || ^11.0.0",
    "redis": "^4.0.0 || ^5.0.0",
    "reflect-metadata": "^0.1.12 || ^0.2.0",
    "rxjs": "^7.0.0"
  },
  "peerDependenciesMeta": {
    "@nestjs/common": {
      "optional": true
    },
    "@nestjs/core": {
      "optional": true
    },
    "redis": {
      "optional": true
    },
    "reflect-metadata": {
      "optional": true
    },
    "rxjs": {
      "optional": true
    }
  },
  "devDependencies": {
    "@nestjs/common": "^11.1.17",
    "@nestjs/core": "^11.1.17",
    "@types/node": "^24.0.0",
    "redis": "^5.8.2",
    "reflect-metadata": "^0.2.2",
    "rxjs": "^7.8.2",
    "tsx": "^4.19.0",
    "typescript": "^5.8.0"
  }
}
