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.

67 lines (66 loc) 2.02 kB
{ "name": "@wistia/wistia-player-react", "version": "0.0.108", "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": "UNLICENSED", "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/wistia-player": "0.0.108" }, "devDependencies": { "@babel/core": "^7.26.9", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-optional-chaining": "^7.21.0", "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@types/react": "^18.3.12", "babel-plugin-transform-object-hasown": "^1.1.0", "esbuild": "^0.25.1", "npm-run-all": "^4.1.5", "react": "^18.3.1", "read-package-json": "^7.0.1", "typescript": "5.7.3", "zx": "^8.3.0" } }