UNPKG

@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.

68 lines (67 loc) 2.05 kB
{ "name": "@wistia/wistia-player-react", "version": "0.1.12", "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.1.12" }, "devDependencies": { "@babel/core": "^7.27.4", "@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.27.1", "@babel/preset-typescript": "^7.27.1", "@types/react": "^18.3.12", "babel-plugin-transform-object-hasown": "^1.1.0", "esbuild": "^0.25.6", "npm-run-all": "^4.1.5", "react": "^18.3.1", "read-package-json": "^7.0.1", "typescript": "5.8.3", "zx": "^8.6.1" } }