@mux/mux-video
Advanced tools
Comparing version 0.23.2-canary.0 to 0.23.2-canary.1
{ | ||
"name": "@mux/mux-video", | ||
"version": "0.23.2-canary.0", | ||
"version": "0.23.2-canary.1", | ||
"description": "A custom mux video element for the browser that Just Works™", | ||
@@ -21,2 +21,5 @@ "keywords": [ | ||
"./dist/types-ts3.4/index.d.ts" | ||
], | ||
"react": [ | ||
"./dist/types-ts3.4/react.d.ts" | ||
] | ||
@@ -27,2 +30,5 @@ }, | ||
"./dist/types/index.d.ts" | ||
], | ||
"react": [ | ||
"./dist/types/react.d.ts" | ||
] | ||
@@ -38,2 +44,8 @@ } | ||
"default": "./dist/index.cjs.js" | ||
}, | ||
"./react": { | ||
"import": "./dist/react.mjs", | ||
"require": "./dist/react.cjs.js", | ||
"types": "./dist/types/react.d.ts", | ||
"default": "./dist/react.cjs.js" | ||
} | ||
@@ -58,12 +70,16 @@ }, | ||
"dev:esm-module": "yarn build:esm-module --watch=forever", | ||
"dev:react:cjs": "yarn build:react:cjs --watch=forever", | ||
"dev:react:esm": "yarn build:react:esm --watch=forever", | ||
"dev:types": "yarn build:types -w", | ||
"dev": "npm-run-all --parallel dev:types dev:esm dev:cjs dev:iife", | ||
"dev": "npm-run-all --parallel dev:types dev:esm dev:cjs dev:iife dev:react:*", | ||
"build:esm": "esbuild src/index.ts --target=es2019 --external:@mux/* --bundle --sourcemap --metafile=./dist/esm.json --format=esm --outdir=dist --out-extension:.js=.mjs --define:PLAYER_VERSION=\"'$npm_package_version'\"", | ||
"build:esm-module": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --metafile=./dist/module.json --format=esm --outfile=./dist/mux-video.mjs --define:PLAYER_VERSION=\"'$npm_package_version'\"", | ||
"build:cjs": "esbuild src/index.ts --target=es2019 --external:@mux/* --bundle --sourcemap --metafile=./dist/cjs.json --format=cjs --outdir=dist --out-extension:.js=.cjs.js --define:PLAYER_VERSION=\"'$npm_package_version'\"", | ||
"build:iife": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --metafile=./dist/iife.json --format=iife --outfile=./dist/mux-video.js --define:PLAYER_VERSION=\"'$npm_package_version'\"", | ||
"build:iife": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --metafile=./dist/iife.json --format=iife --outfile=./dist/mux-video.js --define:PLAYER_VERSION=\"'$npm_package_version'\"", | ||
"build:react:cjs": "esbuild src/react.ts --target=es2019 --bundle --format=cjs --outdir=dist --out-extension:.js=.cjs.js --external:react --external:.", | ||
"build:react:esm": "esbuild src/react.ts --target=es2019 --bundle --format=esm --outdir=dist --out-extension:.js=.mjs --external:react --external:.", | ||
"copypolyfills": "shx mkdir -p src/polyfills && shx cp ../../shared/polyfills/index.ts ./src/polyfills/index.ts", | ||
"build:types": "tsc", | ||
"postbuild:types": "downlevel-dts ./dist/types ./dist/types-ts3.4", | ||
"build": "npm-run-all --parallel 'build:esm --minify' 'build:iife --minify' 'build:cjs --minify' 'build:esm-module --minify'" | ||
"build": "npm-run-all --parallel 'build:esm --minify' 'build:iife --minify' 'build:cjs --minify' 'build:esm-module --minify' 'build:react:cjs --minify' 'build:react:esm --minify'" | ||
}, | ||
@@ -83,2 +99,3 @@ "dependencies": { | ||
"@web/test-runner": "^0.19.0", | ||
"ce-la-react": "^0.1.3", | ||
"downlevel-dts": "^0.11.0", | ||
@@ -89,2 +106,3 @@ "esbuild": "^0.19.8", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^18.2.0", | ||
"replace": "^1.2.1", | ||
@@ -91,0 +109,0 @@ "shx": "^0.3.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6237869
21
5258
16
4