{
  "name": "react-confirm",
  "version": "0.5.0",
  "description": "A lightweight React library that simplifies confirmation dialogs with a Promise-based API — like window.confirm(), but fully customizable.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/haradakunihiko/react-confirm.git"
  },
  "bugs": {
    "url": "https://github.com/haradakunihiko/react-confirm/issues"
  },
  "keywords": [
    "react",
    "reactjs",
    "confirm",
    "confirmation",
    "dialog",
    "modal",
    "promise",
    "async",
    "typescript",
    "ui",
    "component"
  ],
  "homepage": "https://github.com/haradakunihiko/react-confirm",
  "sideEffects": false,
  "files": [
    "dist",
    "src",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "pretest": "npm run build",
    "clean": "rimraf dist lib",
    "build": "tsc -p tsconfig.build.json",
    "prepublishOnly": "npm run clean && npm run build && npm test",
    "test": "jest",
    "test:types": "jest __tests__/typescript/",
    "typecheck": "npm run build && tsc --noEmit",
    "typecheck:tests": "npm run build && tsc -p tsconfig.tests.json"
  },
  "author": "haradakunihiko",
  "license": "MIT",
  "peerDependencies": {
    "react": ">=18.x",
    "react-dom": ">=18.x"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^14.0.0",
    "@types/jest": "^29.5.0",
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "jest": "^29.5.0",
    "jest-environment-jsdom": "^29.5.0",
    "react": ">=18.2.0",
    "react-dom": ">=18.2.0",
    "regenerator-runtime": "^0.13.11",
    "rimraf": "^3.0.2",
    "ts-jest": "^29.1.0",
    "typescript": "^5.0.0"
  },
  "dependencies": {}
}
