@aidenlx/player
Version:
Headless web components that make integrating media on the a web a breeze.
151 lines (150 loc) • 4.44 kB
JSON
{
"name": "@aidenlx/player",
"version": "0.13.3-rc.1",
"description": "Headless web components that make integrating media on the a web a breeze.",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=14.19.0"
},
"main": "dist-prod/index.js",
"module": "dist-prod/index.js",
"files": [
"src/",
"dist/",
"dist-node/",
"dist-prod/",
"dist-cdn/",
"define/",
"react/",
"types/",
"index.d.ts",
"globals.d.ts",
"elements.json",
"tailwind.cjs",
"vscode.html-data.json"
],
"sideEffects": [
"./define/*.js",
"./src/define/*.ts",
"./dist/define/*.js",
"./dist-prod/define/*.js",
"./dist-cdn/define/*.js"
],
"exports": {
".": {
"node": "./dist-node/index.js",
"development": "./dist/index.js",
"default": "./dist-prod/index.js"
},
"./define/*": {
"node": "./dist-node/define/*",
"development": "./dist/define/*",
"default": "./dist-prod/define/*"
},
"./cdn/define/*": {
"default": "./dist-cdn/define/*"
},
"./react": {
"node": "./dist-node/react/index.js",
"development": "./dist/react/index.js",
"default": "./dist-prod/react/index.js"
},
"./package.json": "./package.json",
"./tailwind.cjs": "./tailwind.cjs",
"./elements.json": "./elements.json",
"./vscode.html-data.json": "./vscode.html-data.json"
},
"contributors": [
"Dave Furfero <furf@furf.com>",
"Rahim Alwer <rahim.alwer@gmail.com>",
"Sam Potts <sam@potts.es>"
],
"repository": {
"type": "git",
"url": "https://github.com/vidstack/vidstack.git",
"directory": "packages/player"
},
"bugs": {
"url": "https://github.com/vidstack/vidstack/issues"
},
"scripts": {
"analyze": "eliza \"src/**/*{events,Element}.ts\"",
"build:pkg": "run-s analyze && run-p build:dev build:node build:prod build:cdn build:types && run-s build:definitions",
"build:base": "node ../../.scripts/build.js --entry=\"src/index.ts,src/**/*.ts\"",
"build:base:cdn": "node ../../.scripts/build.js --entry=\"src/define/*.ts\"",
"build:base:node": "node ../../.scripts/build.js --entry=\"src/index.ts,src/define/*.ts,src/react/index.ts\"",
"build:base:external": "pnpm build:base -- --external=@vidstack/foundation,lit",
"build:dev": "pnpm build:base:external -- --outdir=dist --sourcemap",
"build:node": "npm run build:base:node -- --outdir=dist-node --platform=node --prod --domshim --bundle --external=@vidstack/foundation,react",
"build:prod": "pnpm build:base:external -- --outdir=dist-prod --prod",
"build:cdn": "npm run build:base:cdn -- --outdir=dist-cdn --external=hls.js --bundle --prod --mangle --minify",
"build:types": "tsc -p tsconfig.json",
"build:definitions": "node ../../.scripts/definitions.js",
"clean": "rimraf define dist dist-* types elements.json vscode.html-data.json coverage react src/react/index.ts src/react/components",
"dev": "run-p \"analyze -- -w\" \"build:dev -- -w\" \"build:types -- -w\" \"build:definitions -- -w\"",
"watch": "pnpm dev",
"lint:eslint": "eslint src --fix",
"lint:prettier": "prettier src --write --loglevel warn",
"test": "vitest --run",
"test:watch": "vitest --watch"
},
"dependencies": {
"@vidstack/foundation": "^0.13.0"
},
"peerDependencies": {
"lit": "^2.1.1"
},
"devDependencies": {
"@open-wc/semantic-dom-diff": "^0.19.5",
"@open-wc/testing-helpers": "^2.1.2",
"@types/lru-cache": "^7.4.0",
"@types/react": "^17.0.39",
"@vidstack/eliza": "^0.13.0",
"autoprefixer": "^10.4.2",
"hls.js": "^1.1.3",
"jsdom": "^19.0.0",
"lit": "^2.1.3",
"lru-cache": "^7.4.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"svelte": "^3.45.0",
"tailwindcss": "^3.0.22",
"tslib": "^2.3.0",
"typescript": "^4.5.4",
"vite": "^2.8.6",
"vitest": "^0.6.1"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"accessible",
"audio",
"customizable",
"dailymotion",
"elements",
"extensible",
"file",
"framework-agnostic",
"hls",
"html5",
"lit",
"media",
"plyr",
"player",
"react",
"spec-compliant",
"universal",
"vds",
"video",
"vidstack",
"vime",
"vimeo",
"web-component",
"universal",
"youtube"
]
}