super-media-element
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "super-media-element", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Helps you create a custom element w/ a HTMLMediaElement API.", | ||
"type": "module", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"main": "super-media-element.js", | ||
"types": "super-media-element.d.ts", | ||
"files": [ | ||
"index.d.ts", | ||
"src", | ||
"dist" | ||
"super-media-element.d.ts" | ||
], | ||
@@ -21,13 +19,12 @@ "repository": "luwes/super-media-element", | ||
"scripts": { | ||
"pretest": "esbuild index.js --target=es2019 --bundle --outdir=dist", | ||
"pretest": "esbuild super-media-element.js --format=iife --outdir=dist", | ||
"test": "web-test-runner --config test/web-test-runner.config.js", | ||
"dev": "esbuild index.js --bundle --outdir=dist --servedir=.", | ||
"build": "esbuild index.js --target=es2019 --format=esm --bundle --minify --outdir=dist" | ||
"dev": "npx serve ." | ||
}, | ||
"devDependencies": { | ||
"@open-wc/testing": "^3.1.5", | ||
"@web/test-runner": "^0.13.28", | ||
"esbuild": "^0.14.41", | ||
"eslint": "^8.17.0", | ||
"prettier": "^2.6.2" | ||
"@open-wc/testing": "^3.1.7", | ||
"@web/test-runner": "^0.15.0", | ||
"esbuild": "^0.17.3", | ||
"eslint": "^8.32.0", | ||
"prettier": "^2.8.3" | ||
}, | ||
@@ -34,0 +31,0 @@ "prettier": { |
@@ -62,3 +62,2 @@ # Super Media Element | ||
globalThis.customElements.define('my-video', MyVideoElement); | ||
globalThis.MyVideoElement = MyVideoElement; | ||
} | ||
@@ -65,0 +64,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
18547
5
353
79
1