{
  "name": "use-broadcast-channel",
  "version": "0.4.0",
  "description": "React hooks for accessing web broadcast channel.",
  "type": "module",
  "main": "./cjs/index.js",
  "module": "./esm/index.js",
  "types": "./esm/index.d.ts",
  "files": [
    "cjs",
    "esm",
    "index.ts"
  ],
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./esm/index.d.ts",
      "require": "./cjs/index.js",
      "default": "./esm/index.js"
    }
  },
  "scripts": {
    "build": "rm -rf dist & true; yarn build:cjs & yarn build:esm",
    "build:cjs": "rm -rf cjs; tsc -p tsconfig.cjs.json",
    "build:esm": "rm -rf esm; tsc -p tsconfig.esm.json",
    "start": "tsc --watch --noEmit --emitDeclarationOnly false",
    "prepublishOnly": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GuptaSiddhant/react-broadcast-channel.git"
  },
  "keywords": [
    "react",
    "hook",
    "hooks",
    "use",
    "broadcast",
    "channel",
    "share",
    "browser",
    "state",
    "tabs"
  ],
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/GuptaSiddhant/react-broadcast-channel/issues"
  },
  "homepage": "https://github.com/GuptaSiddhant/react-broadcast-channel#readme",
  "devDependencies": {
    "@types/jest": "^29.5.3",
    "@types/node": "^20.4.8",
    "@types/react": "^18.2.19",
    "@vitejs/plugin-react": "^4.3.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "typescript": "^5.1.6",
    "vite": "^5.2.13"
  },
  "peerDependencies": {
    "@types/node": ">16",
    "@types/react": ">17",
    "broadcastchannel-polyfill": "^1.0.0",
    "react": "^16.8 || 17 || 18 || >=19"
  },
  "peerDependenciesMeta": {
    "@types/node": {
      "optional": true
    },
    "@types/react": {
      "optional": true
    },
    "broadcastchannel-polyfill": {
      "optional": true
    },
    "react": {
      "optional": false
    }
  }
}
