{
  "name": "@perfood/couch-auth",
  "version": "0.27.0",
  "description": "Easy and secure authentication for CouchDB/Cloudant. Based on SuperLogin, updated and rewritten in Typescript.",
  "main": "./lib/index.js",
  "files": [
    "lib/",
    "templates/",
    "config.example.js"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/perfood/couch-auth.git"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "scripts": {
    "test": "mocha",
    "test:mocha": "mocha",
    "test:docker": "docker compose up --build test",
    "build": "node_modules/typescript/bin/tsc",
    "lint": "node_modules/typescript/bin/tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
    "prepare": "node_modules/typescript/bin/tsc"
  },
  "keywords": [
    "authentication",
    "login",
    "PouchDB",
    "CouchDB",
    "Cloudant",
    "passport",
    "oauth",
    "Facebook",
    "Twitter",
    "Node",
    "Express"
  ],
  "author": "Colin Skow",
  "maintainers": [
    "Fynn Leitow"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/perfood/couch-auth/issues"
  },
  "homepage": "https://github.com/perfood/couch-auth",
  "dependencies": {
    "@sl-nx/couch-pwd": "2.0.0",
    "@sl-nx/sofa-model": "^1.0.3",
    "@types/express": "^5.0.6",
    "@types/nodemailer": "^7.0.4",
    "@types/passport": "^1.0.17",
    "deepmerge": "^4.3.1",
    "express": "^5.2.1",
    "express-slow-down": "3.1.0",
    "nano": "^11.0.5",
    "nodemailer": "^7.0.11",
    "nunjucks": "^3.2.4",
    "passport": "^0.7.0",
    "passport-http-bearer-sl": "^1.0.4",
    "passport-local": "^1.0.0",
    "urlsafe-base64": "1.0.0",
    "uuid": "^13.0.0"
  },
  "optionalDependencies": {
    "nodemailer-stub-transport": "^1.1.0"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.39.1",
    "@types/chai": "^5.2.3",
    "@types/mocha": "^10.0.10",
    "@types/node": "^25.6.0",
    "@types/passport-local": "^1.0.38",
    "@types/sinon": "^21.0.1",
    "@types/superagent": "^8.1.9",
    "@typescript-eslint/eslint-plugin": "^8.48.0",
    "@typescript-eslint/parser": "^8.48.0",
    "body-parser": "^2.2.2",
    "chai": "^6.2.2",
    "eslint": "^9.39.1",
    "eslint-config-prettier": "^10.1.8",
    "husky": "^9.1.7",
    "mocha": "^11.7.5",
    "morgan": "^1.10.1",
    "prettier": "^3.8.2",
    "pretty-quick": "^4.2.2",
    "sinon": "^21.1.2",
    "sinon-chai": "^4.0.1",
    "superagent": "^10.3.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.9.3",
    "undici": "^7.16.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
    }
  },
  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 2020,
      "sourceType": "module"
    }
  },
  "types": "./lib/index.d.ts",
  "directories": {
    "lib": "lib",
    "test": "test"
  }
}
