{
  "name": "react-benin-payments",
  "version": "2.0.0",
  "description": "React hooks and components wrapper for Benin payment gateways (FedaPay, KKiaPay)",
  "author": "Steven Koulo",
  "license": "MIT",
  "keywords": [
    "react",
    "payment",
    "fedapay",
    "kkiapay",
    "benin",
    "africa",
    "hooks",
    "typescript"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/stvekoulo/react-benin-payments.git"
  },
  "bin": {
    "react-benin-payments": "./dist/cli/init.js"
  },
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    },
    "./fedapay": {
      "import": {
        "types": "./dist/fedapay.d.mts",
        "default": "./dist/fedapay.mjs"
      },
      "require": {
        "types": "./dist/fedapay.d.ts",
        "default": "./dist/fedapay.js"
      }
    },
    "./kkiapay": {
      "import": {
        "types": "./dist/kkiapay.d.mts",
        "default": "./dist/kkiapay.mjs"
      },
      "require": {
        "types": "./dist/kkiapay.d.ts",
        "default": "./dist/kkiapay.js"
      }
    },
    "./core": {
      "import": {
        "types": "./dist/core.d.mts",
        "default": "./dist/core.mjs"
      },
      "require": {
        "types": "./dist/core.d.ts",
        "default": "./dist/core.js"
      }
    }
  },
  "files": [
    "dist",
    "!example"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "lint": "eslint src --ext .ts,.tsx",
    "lint:fix": "eslint src --ext .ts,.tsx --fix",
    "typecheck": "tsc --noEmit",
    "test": "vitest",
    "test:run": "vitest run",
    "test:coverage": "vitest run --coverage",
    "prepublishOnly": "npm run build"
  },
  "peerDependencies": {
    "react": ">=17.0.0",
    "react-dom": ">=17.0.0",
    "jspdf": "^2.5.2"
  },
  "peerDependenciesMeta": {
    "jspdf": {
      "optional": true
    }
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@types/node": "^25.0.3",
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "@vitejs/plugin-react": "^6.0.1",
    "@vitest/coverage-v8": "^4.1.1",
    "eslint": "^8.0.0",
    "eslint-plugin-react": "^7.33.0",
    "eslint-plugin-react-hooks": "^4.6.0",
    "jsdom": "^29.0.1",
    "jspdf": "^2.5.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "tsup": "^8.0.0",
    "typescript": "^5.0.0",
    "vitest": "^4.1.1"
  }
}
