{
  "name": "csrf-csrf",
  "version": "4.0.3",
  "description": "A utility package to help implement stateless CSRF protection using the Double Submit Cookie Pattern in express.",
  "type": "module",
  "main": "./dist/index.cjs",
  "exports": {
    ".": {
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      },
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    }
  },
  "types": "./dist/index.d.ts",
  "files": ["dist/index.js", "dist/index.cjs", "dist/index.d.ts", "dist/index.d.cts"],
  "scripts": {
    "build": "tsup",
    "build:clean": "npm run clean && npm run build",
    "changelog": "commit-and-tag-version",
    "clean": "rm -rf ./dist",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "pack": "npm pack",
    "pack:clean": "rm -rf *.tgz && npm run pack",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage"
  },
  "author": "psibean",
  "license": "ISC",
  "homepage": "https://github.com/Psifi-Solutions/csrf-csrf",
  "repository": "https://github.com/Psifi-Solutions/csrf-csrf",
  "keywords": ["csrf", "middleware", "express", "tokens"],
  "devDependencies": {
    "@biomejs/biome": "1.9.4",
    "@types/cookie-parser": "^1.4.8",
    "@types/express": "^4.17.21",
    "@types/express-session": "^1.18.0",
    "@types/http-errors": "^2.0.4",
    "@types/node": "^18.15.8",
    "@vitest/coverage-istanbul": "3.1.2",
    "commit-and-tag-version": "12.5.0",
    "cookie": "^1.0.2",
    "cookie-parser": "^1.4.7",
    "tsup": "^8.4.0",
    "typescript": "^5.3.3",
    "vitest": "3.1.2"
  },
  "dependencies": {
    "http-errors": "^2.0.0"
  }
}
