{ "name": "@vidstack/react", "version": "1.15.7", "description": "Deprecated in favour of Video.js 10 (https://videojs.org); security fixes only until January 2028. UI component library for building high-quality, accessible video and audio experiences on the web.", "license": "MIT", "type": "module", "types": "src/index.ts", "sideEffects": [ "*.css" ], "engines": { "node": ">=18" }, "scripts": { "analyze": "maverick analyze \"src/**/*.tsx\" --framework react --project tsconfig.build.json", "dev": "pnpm clean && pnpm build:icons && pnpm declarations && pnpm watch", "bundle": "tsdown --config-loader tsx", "build": "pnpm build:icons && pnpm bundle", "build:icons": "node build/build-icons.js", "build:types": "pnpm run bundle --types", "declarations": "tsgo -p tsconfig.build.json", "typecheck": "tsgo -p tsconfig.json --noEmit", "sandbox": "node ../../.scripts/sandbox.js", "sandbox:build": "vite build sandbox", "types": "pnpm build:icons && pnpm declarations && pnpm build:types", "clean": "rimraf dist-npm", "format": "oxfmt src", "format:check": "oxfmt --check src", "link:styles": "ln -s ../vidstack/styles ./styles", "watch": "pnpm watch:types & pnpm run bundle --watch", "watch:types": "pnpm run declarations -w & pnpm run build:types --watch" }, "peerDependencies": { "@types/react": "^18.0.0 || ^19.0.0", "react": "^18.0.0 || ^19.0.0" }, "dependencies": { "@floating-ui/dom": "^1.6.10", "media-captions": "^1.0.4" }, "devDependencies": { "@maverick-js/cli": "0.44.1", "@types/fs-extra": "^11.0.4", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.3.1", "fs-extra": "^11.2.0", "maverick.js": "0.44.1", "media-icons": "^1.1.5", "react": "^19.0.0", "react-dom": "^19.0.0", "remotion": "4.0.193", "rimraf": "^3.0.2", "rolldown-plugin-dts": "^0.25.1", "tsdown": "^0.22.0", "tslib": "^2.6.3", "tsx": "^4.16.5", "type-fest": "^5.0.0", "typescript": "^6.0.0", "vidstack": "workspace:*", "vite": "^5.3.5" }, "contributors": [ "Rahim Alwer " ], "repository": { "type": "git", "url": "https://github.com/vidstack/player.git", "directory": "packages/react" }, "bugs": { "url": "https://github.com/vidstack/player/issues" }, "exports": { ".": "./src/index.ts", "./icons": "./src/icons.ts", "./player/remotion": "./src/providers/remotion/index.ts", "./player/layouts/default": "./src/components/layouts/default/index.ts", "./player/layouts/plyr": "./src/components/layouts/plyr/index.ts", "./player/styles/*": "./styles/player/*", "./package.json": "./package.json" }, "$types": "index.d.ts", "$exports": { ".": { "types": "./index.d.ts", "worker": "./server/vidstack.js", "development": "./dev/vidstack.js", "default": "./prod/vidstack.js" }, "./icons": { "types": "./icons.d.ts", "default": "./prod/vidstack-icons.js" }, "./player/remotion": { "types": "./player/remotion.d.ts", "worker": "./server/vidstack-remotion.js", "development": "./dev/player/vidstack-remotion.js", "default": "./prod/player/vidstack-remotion.js" }, "./player/layouts/default": { "types": "./player/layouts/default.d.ts", "worker": "./server/vidstack-default-layout.js", "development": "./dev/player/vidstack-default-layout.js", "default": "./prod/player/vidstack-default-layout.js" }, "./player/layouts/plyr": { "types": "./player/layouts/plyr.d.ts", "worker": "./server/vidstack-plyr-layout.js", "development": "./dev/player/vidstack-plyr-layout.js", "default": "./prod/player/vidstack-plyr-layout.js" }, "./player/styles/*": "./player/styles/*", "./types/*": "./types/*", "./dom.d.ts": "./dom.d.ts", "./google-cast.d.ts": "./google-cast.d.ts", "./package.json": "./package.json", "./tailwind.cjs": { "types": "./tailwind.d.cts", "default": "./tailwind.cjs" }, "./analyze.json": { "types": "./analyze.json.d.ts", "default": "./analyze.json" } }, "publishConfig": { "access": "public" }, "keywords": [ "accessible", "analytics", "audio", "customizable", "dailymotion", "elements", "extensible", "file", "framework-agnostic", "headless", "hls", "html5", "jwplayer", "media", "plyr", "player", "react", "spec-compliant", "universal", "uploader", "vds", "video", "videojs", "video.js", "vidstack", "vime", "vimeo", "web-component", "tailwind", "universal", "youtube" ] }