{
  "name": "@whop/react",
  "description": "React SDK for building embedded apps on Whop",
  "version": "0.3.2",
  "repository": {
    "type": "git",
    "url": "https://github.com/whopio/whop-sdk-ts",
    "directory": "packages/react"
  },
  "keywords": [
    "whop",
    "react",
    "sdk",
    "embedded",
    "apps",
    "payments"
  ],
  "bugs": "https://github.com/whopio/whop-sdk-ts/issues",
  "homepage": "https://whop.com/developers/",
  "license": "MIT",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "scripts/postinstall.mjs"
  ],
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs",
      "types": "./dist/index.d.ts"
    },
    "./checkout": {
      "import": "./dist/checkout/index.mjs",
      "require": "./dist/checkout/index.cjs",
      "types": "./dist/checkout/index.d.ts"
    },
    "./components": {
      "import": "./dist/components/index.mjs",
      "require": "./dist/components/index.cjs",
      "types": "./dist/components/index.d.ts"
    },
    "./iframe": {
      "import": "./dist/iframe/index.mjs",
      "require": "./dist/iframe/index.cjs",
      "types": "./dist/iframe/index.d.ts"
    },
    "./theme": {
      "import": "./dist/theme/index.mjs",
      "require": "./dist/theme/index.cjs",
      "types": "./dist/theme/index.d.ts"
    },
    "./websockets": {
      "import": "./dist/websockets/index.mjs",
      "require": "./dist/websockets/index.cjs",
      "types": "./dist/websockets/index.d.ts"
    },
    "./next.config": {
      "import": "./dist/next.config.mjs",
      "require": "./dist/next.config.cjs",
      "types": "./dist/next.config.d.ts"
    },
    "./tailwind": {
      "import": "./dist/tailwind.mjs",
      "require": "./dist/tailwind.cjs",
      "types": "./dist/tailwind.d.ts"
    },
    "./*": {
      "import": [
        "./dist/*.mjs",
        "./dist/*/index.mjs"
      ],
      "require": [
        "./dist/*.cjs",
        "./dist/*/index.cjs"
      ],
      "types": [
        "./dist/*.d.ts",
        "./dist/*/index.d.ts"
      ]
    },
    "./styles.css": "./styles.css"
  },
  "dependencies": {
    "frosted-ui": "0.0.1-canary.77",
    "use-sync-external-store": "1.5.0",
    "@whop/iframe": "^0.0.6"
  },
  "devDependencies": {
    "@swc/cli": "0.7.7",
    "@swc/core": "1.11.29",
    "@types/node": "latest",
    "@types/react": "19.1.5",
    "@types/use-sync-external-store": "1.5.0",
    "concurrently": "9.1.2",
    "react": "19.1.0",
    "typescript": "latest"
  },
  "publishConfig": {
    "access": "public"
  },
  "peerDependencies": {
    "react": "^19.0.0"
  },
  "scripts": {
    "build": "pnpm run clean && concurrently \"pnpm run build:swc\" \"pnpm run build:tsc\"",
    "build:swc": "concurrently \"pnpm run build:swc:esm\" \"pnpm run build:swc:cjs\"",
    "build:swc:cjs": "swc src -d dist --strip-leading-paths --out-file-extension cjs -C module.type=commonjs",
    "build:swc:esm": "swc src -d dist --strip-leading-paths --out-file-extension mjs -C module.type=es6 && node scripts/fix-esm-output.mjs",
    "build:tsc": "tsc --emitDeclarationOnly",
    "clean": "rm -rf dist",
    "dev": "concurrently \"pnpm run dev:swc\" \"pnpm run dev:tsc\"",
    "dev:swc": "concurrently \"pnpm run dev:swc:esm\" \"pnpm run dev:swc:cjs\"",
    "dev:swc:cjs": "swc src -d dist --strip-leading-paths --out-file-extension cjs -C module.type=commonjs --watch",
    "dev:swc:esm": "swc src -d dist --strip-leading-paths --out-file-extension mjs -C module.type=es6 --watch",
    "dev:tsc": "tsc --emitDeclarationOnly --watch",
    "check-types": "tsc --noEmit",
    "lint:fix": "biome check --write --unsafe",
    "postinstall": "node ./scripts/postinstall.mjs"
  }
}