{
  "name": "passport-magic-link",
  "version": "4.0.0",
  "description": "Passport JS module for Magic Link authentication",
  "main": "./lib/index.cjs",
  "module": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "type": "module",
  "exports": {
    ".": {
      "import": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      },
      "require": {
        "types": "./lib/index.d.cts",
        "default": "./lib/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "/lib",
    "README.md",
    "CHANGELOG.md"
  ],
  "engines": {
    "node": ">=22.0.0"
  },
  "scripts": {
    "build": "tsup && tsc --emitDeclarationOnly && node scripts/dual-dts.mjs",
    "dev": "jest --watch --selectProjects unit",
    "test": "jest",
    "lint": "eslint \"src/**/*.ts\"",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run lint && npm test && npm run build"
  },
  "lint-staged": {
    "*.{js,ts}": [
      "prettier --write",
      "eslint --fix"
    ],
    "src/**/!(*.spec|*.test).ts": [
      "jest --bail --findRelatedTests --passWithNoTests"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vinialbano/passport-magic-link.git"
  },
  "keywords": [
    "passport",
    "magic",
    "link",
    "passwordless",
    "encryption",
    "timestamp",
    "two",
    "factor",
    "authentication",
    "2FA"
  ],
  "author": "Vinicius Albano <vinialbano@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/vinialbano/passport-magic-link/issues"
  },
  "homepage": "https://github.com/vinialbano/passport-magic-link#readme",
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@swc/core": "^1.15.30",
    "@swc/jest": "^0.2.39",
    "@total-typescript/tsconfig": "^1.0.4",
    "@types/chai": "^5.2.2",
    "@types/express": "^5.0.3",
    "@types/express-session": "^1.18.2",
    "@types/jest": "^30.0.0",
    "@types/jsonwebtoken": "^9.0.10",
    "@types/node": "^25.6.0",
    "@types/passport-strategy": "^0.2.38",
    "@types/supertest": "^7.2.0",
    "chai": "^6.2.0",
    "chai-passport-strategy": "^3.0.0",
    "eslint": "^10.2.1",
    "eslint-plugin-jest": "^29.0.1",
    "eslint-plugin-n": "^17.23.1",
    "express": "^5.1.0",
    "express-session": "^1.18.2",
    "husky": "^9.1.7",
    "jest": "^30.2.0",
    "jiti": "^2.6.1",
    "lint-staged": "^16.2.3",
    "passport": "^0.7.0",
    "prettier": "^3.6.2",
    "supertest": "^7.1.4",
    "tsup": "^8.5.1",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.45.0"
  },
  "dependencies": {
    "jsonwebtoken": "9.0.3",
    "passport-strategy": "^1.0.0"
  }
}
