{
  "name": "@mux/mux-player-react",
  "version": "3.1.0",
  "description": "An open source Mux player for React that Just Works™",
  "homepage": "https://mux.com/player",
  "keywords": [
    "video",
    "mux",
    "player",
    "hls",
    "react"
  ],
  "main": "./dist/index.cjs.js",
  "module": "./dist/index.mjs",
  "typesVersions": {
    "<4.3.5": {
      ".": [
        "./dist/types-ts3.4/index.d.ts"
      ],
      "themes/*": [
        "./dist/types-ts3.4/themes/*.d.ts"
      ],
      "lazy": [
        "./dist/types-ts3.4/lazy.d.ts"
      ]
    },
    "*": {
      ".": [
        "./dist/types/index.d.ts"
      ],
      "themes/*": [
        "./dist/types/themes/*.d.ts"
      ],
      "lazy": [
        "./dist/types/lazy.d.ts"
      ]
    }
  },
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs.js",
      "default": "./dist/index.cjs.js",
      "types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
      "types": "./dist/types/index.d.ts"
    },
    "./lazy": {
      "import": "./dist/lazy.mjs",
      "default": "./dist/lazy.mjs",
      "types@<4.3.5": "./dist/types-ts3.4/lazy.d.ts",
      "types": "./dist/types/lazy.d.ts"
    },
    "./themes/*": {
      "import": "./dist/themes/*.mjs",
      "require": "./dist/themes/*.cjs.js",
      "default": "./dist/themes/*.cjs.js",
      "types@<4.3.5": "./dist/types-ts3.4/themes/*.d.ts",
      "types": "./dist/types/themes/*.d.ts"
    }
  },
  "types": "./dist/types/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/muxinc/elements",
    "directory": "packages/mux-player-react"
  },
  "author": "Mux, Inc.",
  "license": "MIT",
  "scripts": {
    "clean": "shx rm -rf dist/",
    "dev:cjs": "yarn build:cjs --watch=forever",
    "dev:esm": "yarn build:esm --watch=forever",
    "dev:cjs:lazy": "echo 'esbuild cjs does not support code-splitting. See https://esbuild.github.io/api/#splitting for details'",
    "dev:esm:lazy": "yarn build:esm:lazy --watch=forever",
    "dev:types": "yarn build:types -w",
    "dev": "npm-run-all --parallel dev:types dev:cjs dev:esm dev:esm:lazy",
    "build:cjs": "esbuild src/index.tsx src/themes/*.ts --target=es2019 --bundle --sourcemap --metafile=./dist/cjs.json --format=cjs --loader:.css=text --outdir=dist --out-extension:.js=.cjs.js --external:react --external:@mux/* --external:prop-types --define:PLAYER_VERSION=\"'$npm_package_version'\"",
    "build:esm": "esbuild src/index.tsx src/themes/*.ts --target=es2019 --bundle --sourcemap --metafile=./dist/esm.json --format=esm --loader:.css=text --outdir=dist --out-extension:.js=.mjs --external:react --external:@mux/* --external:prop-types --define:PLAYER_VERSION=\"'$npm_package_version'\"",
    "build:cjs:lazy": "echo 'esbuild cjs does not support code-splitting. See https://esbuild.github.io/api/#splitting for details'",
    "build:esm:lazy": "esbuild src/lazy.tsx --splitting --target=es2019 --bundle --sourcemap --metafile=./dist/esm.lazy.json --format=esm --loader:.css=text --outdir=dist --out-extension:.js=.mjs --external:react --external:@mux/* --external:prop-types --define:PLAYER_VERSION=\"'$npm_package_version'\"",
    "build:types": "tsc",
    "postbuild:types": "downlevel-dts ./dist/types ./dist/types-ts3.4",
    "build": "npm-run-all --parallel 'build:cjs --minify' 'build:esm --minify' 'build:esm:lazy --minify'",
    "create-release-notes": "create-release-notes ./CHANGELOG.md",
    "publish-release": "../../scripts/publish.sh"
  },
  "peerDependencies": {
    "@types/react": "^17.0.0 || ^17.0.0-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0",
    "react": "^17.0.2 || ^17.0.0-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0",
    "react-dom": "^17.0.2 || ^17.0.2-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    },
    "@types/react-dom": {
      "optional": true
    }
  },
  "dependencies": {
    "@mux/mux-player": "3.1.0",
    "@mux/playback-core": "0.27.0",
    "prop-types": "^15.7.2"
  },
  "devDependencies": {
    "@types/prop-types": "^15.7.12",
    "@types/react": "^18.2.79",
    "@types/react-dom": "^18.2.25",
    "downlevel-dts": "^0.11.0",
    "esbuild": "^0.19.8",
    "npm-run-all": "^4.1.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "shx": "^0.3.4",
    "typescript": "^5.5.4"
  },
  "gitHead": "e1d17f4ce383e95489fc778d3c5bda3b89a27b5b"
}
