{
  "name": "@acpr/rate-limit-postgresql",
  "version": "1.4.1",
  "description": "A PostgreSQL store for the `express-rate-limit` middleware",
  "homepage": "https://github.com/express-rate-limit/rate-limit-postgresql",
  "repository": "https://github.com/express-rate-limit/rate-limit-postgresql",
  "author": {
    "name": "Adrian C. Prelipcean"
  },
  "license": "MIT",
  "files": [
    "dist/**/*"
  ],
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.cts",
  "exports": {
    "require": {
      "types": "./dist/index.d.cts",
      "default": "./dist/index.cjs"
    },
    "import": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    }
  },
  "scripts": {
    "test": "ts-mocha src/**/*.spec.ts",
    "clean": "rm -rf ./dist",
    "build": "npm run clean && pkgroll --src source/ && cp source/migrations/ dist/ -r && npm run mjs-fix-prepend",
    "lint": "prettier --check .",
    "lint-autofix": "prettier --write .",
    "prepack": "npm run build",
    "prepare": "husky install",
    "generate-dev-licenses": "./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --limitAttributes licenses,repository,publisher,email --json --development > third_party_licenses/dev_detailed.json && ./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --summary --development > third_party_licenses/dev_summary.txt",
    "generate-production-licenses": "./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --limitAttributes licenses,repository,publisher,email --json --production > third_party_licenses/production_detailed.json && ./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --summary --production > third_party_licenses/production_summary.txt",
    "generate-licenses": "npm run generate-dev-licenses && npm run generate-production-licenses",
    "mjs-fix-prepend": "printf '%s\\n%s\\n' \"import { dirname } from 'path'\nimport { fileURLToPath } from 'url';\nconst __dirname = dirname(fileURLToPath(import.meta.url));\n\" \"$(cat dist/index.mjs)\" > dist/index.mjs"
  },
  "keywords": [
    "express-rate-limit",
    "express-rate-limit-postgresql",
    "express-rate-limit-postgres",
    "express",
    "rate",
    "limit",
    "ratelimit",
    "rate-limit",
    "middleware",
    "ip",
    "auth",
    "authorization",
    "security",
    "brute",
    "force",
    "bruteforce",
    "brute-force",
    "attack",
    "postgresql",
    "postgres"
  ],
  "peerDependencies": {
    "express-rate-limit": ">=6.0.0"
  },
  "dependencies": {
    "@types/pg-pool": "2.0.3",
    "pg": "8.11.3",
    "pg-pool": "3.6.1",
    "postgres-migrations": "5.3.0"
  },
  "devDependencies": {
    "@express-rate-limit/prettier": "1.1.1",
    "@express-rate-limit/tsconfig": "1.0.2",
    "@types/chai": "4.3.6",
    "@types/express": "4.17.17",
    "@types/mocha": "10.0.1",
    "@types/sinon": "10.0.16",
    "chai": "4.3.8",
    "express-rate-limit": "7.0.1",
    "global-jsdom": "9.1.0",
    "husky": "8.0.3",
    "license-checker-rseidelsohn": "4.2.7",
    "lint-staged": "14.0.1",
    "mocha": "10.2.0",
    "pkgroll": "1.11.0",
    "prettier": "3.0.3",
    "sinon": "16.0.0",
    "ts-mocha": "10.0.0",
    "ts-node": "10.9.1",
    "typescript": "5.2.2"
  },
  "prettier": "@express-rate-limit/prettier",
  "lint-staged": {
    "*.md": "prettier --write",
    "source/**/*.ts": "prettier --write",
    "test/**/*.ts": "prettier --write",
    "package.json": "npm run generate-licenses"
  }
}
