{
  "name": "next-video",
  "version": "2.6.0",
  "type": "module",
  "description": "A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.",
  "author": "Mux Lab <lab@mux.com>",
  "license": "MIT",
  "homepage": "https://github.com/muxinc/next-video#readme",
  "bugs": {
    "url": "https://github.com/muxinc/next-video/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/muxinc/next-video.git"
  },
  "files": [
    "dist",
    "video-types"
  ],
  "bin": {
    "next-video": "./dist/cli.js"
  },
  "main": "./dist/components/video.js",
  "exports": {
    ".": "./dist/components/video.js",
    "./player": "./dist/components/players/default-player.js",
    "./process": {
      "import": "./dist/process.js",
      "require": "./dist/cjs/process.js",
      "default": "./dist/process.js"
    },
    "./webpack/*": {
      "import": "./dist/webpack/*",
      "require": "./dist/cjs/webpack/*",
      "default": "./dist/webpack/*"
    },
    "./background-video": "./dist/components/background-video.js",
    "./background-player": "./dist/components/players/background-player.js",
    "./request-handler": "./dist/request-handler.js",
    "./video-types/*": "./video-types/*.d.ts",
    "./dist/cjs/*": "./dist/cjs/*",
    "./dist/*": "./dist/*"
  },
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*"
      ]
    }
  },
  "scripts": {
    "clean": "rm -rf dist",
    "watch": "npm run types:esm -- -w & npm run types:cjs -- -w & npm run build:esm -- --watch=forever & npm run build:cjs -- --watch=forever",
    "types": "npm run types:esm & npm run types:cjs",
    "types:esm": "tsc --outDir dist",
    "types:cjs": "tsc --outDir dist/cjs",
    "prebuild": "npm run clean && npm run types",
    "build": "npm run build:esm && npm run build:cjs",
    "build:esm": "esbuild \"src/**/*.ts*\" --outdir=dist --format=esm --target=es2020",
    "build:cjs": "esbuild \"src/**/*.ts*\" --outdir=dist/cjs --platform=node --format=cjs --target=es2020 --define:import.meta.url=\\\"\\\"",
    "postbuild:cjs": "node --eval \"fs.writeFileSync('./dist/cjs/package.json', '{\\\"type\\\": \\\"commonjs\\\"}')\"",
    "prepare": "npm run build",
    "cli": "node --loader tsx --no-warnings ./src/cli",
    "test": "glob -c \"c8 --src src --exclude 'next.config.js' --exclude 'tests/**' --exclude 'dist/**' node --loader tsx --no-warnings --test\" \"./tests/**/*.test.{ts,tsx}\"",
    "coverage": "c8 report --reporter=text-lcov > ./coverage/lcov.info"
  },
  "peerDependencies": {
    "@types/react": "^17.0.0 || ^17.0.0-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0",
    "next": ">=12.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
    }
  },
  "devDependencies": {
    "@types/dotenv-flow": "^3.3.3",
    "@types/node": "^22.10.2",
    "@types/react": "19.0.2",
    "@types/resolve": "^1.20.6",
    "@types/yargs": "^17.0.33",
    "c8": "^10.1.3",
    "esbuild": "^0.24.2",
    "glob": "^11.0.0",
    "next": "^15.5.0",
    "react": "^19.0.0",
    "react-test-renderer": "^19.0.0",
    "tsx": "3.13.0",
    "typescript": "^5.7.2"
  },
  "dependencies": {
    "@aws-sdk/client-s3": "^3.717.0",
    "@inquirer/prompts": "^7.8.6",
    "@mux/mux-node": "9.0.1",
    "@mux/mux-video": "^0.28.2",
    "@mux/playback-core": "^0.31.4",
    "@next/env": "^15.1.2",
    "@paralleldrive/cuid2": "^2.2.2",
    "@vercel/blob": "^0.27.0",
    "chalk": "^4.1.2",
    "chokidar": "^4.0.3",
    "dash-video-element": "^0.3.1",
    "hls-video-element": "^1.5.10",
    "magicast": "^0.3.5",
    "media-chrome": "^4.16.1",
    "minimatch": "^10.0.3",
    "player.style": "^0.3.1",
    "resolve": "^1.22.10",
    "symlink-dir": "^6.0.3",
    "undici": "^5.28.4",
    "yargs": "^17.7.2"
  },
  "prettier": {
    "printWidth": 120,
    "singleQuote": true,
    "tabWidth": 2,
    "useTabs": false,
    "semi": true,
    "quoteProps": "as-needed",
    "jsxSingleQuote": false,
    "trailingComma": "es5",
    "bracketSpacing": true,
    "arrowParens": "always"
  },
  "keywords": [
    "next",
    "nextjs",
    "react",
    "video",
    "video-streaming",
    "video-processing",
    "audio",
    "media",
    "player"
  ]
}
