{
  "name": "@adonisjs/limiter",
  "description": "Rate limiting package for AdonisJS framework",
  "version": "2.3.2",
  "main": "build/index.js",
  "type": "module",
  "files": [
    "build",
    "!build/bin",
    "!build/tests"
  ],
  "exports": {
    ".": "./build/index.js",
    "./limiter_provider": "./build/providers/limiter_provider.js",
    "./services/main": "./build/services/main.js",
    "./stores/*": "./build/src/stores/*.js",
    "./types": "./build/src/types.js"
  },
  "scripts": {
    "pretest": "npm run lint && del-cli coverage",
    "test": "npm run test:pg && npm run test:mysql && mkdir coverage/tmp && cp -r coverage/*/tmp/. coverage/tmp && c8 report",
    "test:pg": "cross-env DB=pg c8 --reporter=json --report-dir=coverage/pg npm run quick:test",
    "test:mysql": "cross-env DB=mysql c8 --reporter=json --report-dir=coverage/mysql npm run quick:test",
    "clean": "del-cli build",
    "typecheck": "tsc --noEmit",
    "copy:templates": "copyfiles \"stubs/**/*.stub\" --up=\"1\" build",
    "precompile": "npm run lint && npm run clean",
    "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
    "postcompile": "npm run copy:templates",
    "build": "npm run compile",
    "prepublishOnly": "npm run build",
    "lint": "eslint . --ext=.ts",
    "format": "prettier --write .",
    "release": "np",
    "version": "npm run build",
    "sync-labels": "github-label-sync --labels .github/labels.json adonisjs/session",
    "quick:test": "cross-env NODE_DEBUG=adonisjs:limiter node --enable-source-maps --loader=ts-node/esm bin/test.ts"
  },
  "devDependencies": {
    "@adonisjs/assembler": "^7.7.0",
    "@adonisjs/core": "^6.12.1",
    "@adonisjs/eslint-config": "^1.3.0",
    "@adonisjs/i18n": "^2.1.1",
    "@adonisjs/lucid": "^21.1.1",
    "@adonisjs/prettier-config": "^1.3.0",
    "@adonisjs/redis": "^9.1.0",
    "@adonisjs/tsconfig": "^1.3.0",
    "@japa/assert": "^3.0.0",
    "@japa/expect-type": "^2.0.2",
    "@japa/file-system": "^2.3.0",
    "@japa/runner": "^3.1.4",
    "@swc/core": "^1.7.4",
    "@types/node": "^22.0.2",
    "@types/sinon": "^17.0.3",
    "better-sqlite3": "^11.1.2",
    "c8": "^10.1.2",
    "copyfiles": "^2.4.1",
    "cross-env": "^7.0.3",
    "del-cli": "^5.0.0",
    "dotenv": "^16.4.5",
    "eslint": "^8.44.0",
    "github-label-sync": "^2.3.1",
    "husky": "^9.1.4",
    "luxon": "^3.4.3",
    "mysql2": "^3.11.0",
    "np": "^10.0.7",
    "pg": "^8.12.0",
    "prettier": "^3.3.3",
    "sinon": "^18.0.0",
    "timekeeper": "^2.3.1",
    "ts-node": "^10.9.1",
    "tsup": "^8.2.3",
    "typescript": "^5.5.4"
  },
  "dependencies": {
    "rate-limiter-flexible": "^5.0.3"
  },
  "peerDependencies": {
    "@adonisjs/core": "^6.12.1",
    "@adonisjs/lucid": "^20.1.0 || ^21.0.0",
    "@adonisjs/redis": "^8.0.1 || ^9.0.0"
  },
  "peerDependenciesMeta": {
    "@adonisjs/lucid": {
      "optional": true
    },
    "@adonisjs/redis": {
      "optional": true
    }
  },
  "author": "virk,adonisjs",
  "license": "MIT",
  "homepage": "https://github.com/adonisjs/limiter#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/adonisjs/limiter.git"
  },
  "bugs": {
    "url": "https://github.com/adonisjs/limiter/issues"
  },
  "keywords": [
    "adonis",
    "rate-limiter"
  ],
  "eslintConfig": {
    "extends": "@adonisjs/eslint-config/package"
  },
  "prettier": "@adonisjs/prettier-config",
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "publishConfig": {
    "access": "public",
    "tag": "latest"
  },
  "np": {
    "message": "chore(release): %s",
    "tag": "latest",
    "branch": "main",
    "anyBranch": false
  },
  "c8": {
    "reporter": [
      "text",
      "html"
    ],
    "exclude": [
      "tests/**"
    ]
  },
  "tsup": {
    "entry": [
      "./index.ts",
      "./providers/limiter_provider.ts",
      "./services/main.ts",
      "./src/stores/*.ts",
      "./src/types.ts"
    ],
    "outDir": "./build",
    "clean": true,
    "format": "esm",
    "dts": false,
    "sourcemap": true,
    "target": "esnext"
  }
}
