@wistia/wistia-player-react
Version:
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
72 lines (71 loc) • 2.15 kB
JSON
{
"name": "@wistia/wistia-player-react",
"version": "0.3.14",
"packageManager": "yarn@4.5.3",
"description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.",
"keywords": [
"wistia",
"video",
"player",
"embed",
"web component",
"custom element",
"react"
],
"license": "MIT",
"author": "Wistia Engineering",
"main": "./dist/mjs/WistiaPlayer.mjs",
"module": "./dist/mjs/WistiaPlayer.mjs",
"types": "./dist/mjs/types/src/WistiaPlayer.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/mjs/types/src/WistiaPlayer.d.ts",
"default": "./dist/mjs/WistiaPlayer.mjs"
},
"require": {
"types": "./dist/cjs/types/src/WistiaPlayer.d.ts",
"default": "./dist/cjs/WistiaPlayer.cjs"
}
}
},
"type": "module",
"files": [
"dist"
],
"scripts": {
"build:react:dev": "./esbuild.mjs --dev",
"build:react:prod": "./esbuild.mjs",
"build:types": "tsc",
"build:types:cjs": "tsc --project tsconfig.cjs.json",
"prebuild": "rm -rf dist",
"build:dev": "npm-run-all 'prebuild' 'build:react:dev' 'build:types'",
"build:prod": "npm-run-all 'prebuild' 'build:react:prod' 'build:types'",
"start:dev": "run build:react:dev --watch",
"start:dev:yalc": "run build:react:dev --watch --yalc"
},
"dependencies": {
"@wistia/type-guards": "^0.9.1",
"@wistia/wistia-player": "0.3.14"
},
"peerDependencies": {
"react": ">=18.0.0 <20.0.0",
"react-dom": ">=18.0.0 <20.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@types/react": "^19.1.9",
"babel-plugin-transform-object-hasown": "^1.1.0",
"esbuild": "^0.25.11",
"npm-run-all": "^4.1.5",
"react": "^19.1.1",
"read-package-json": "^7.0.1",
"typescript": "5.9.3",
"zx": "^8.8.5"
}
}