@imgix/ix-video

v1.2.1
imgix video custom element that works anywhere
imgix web-components lit-element typescript lit

dev

vite --config ./dev/vite.config.ts

lint

npm run lint:lit-analyzer && npm run lint:eslint

test

npm run test:e2e

build

npm run build:esm && npm run build:min && npm run build:umd && npm run build:umd_min

format

prettier "**/*.{cjs,html,js,json,md,ts}" --ignore-path ./.eslintignore --write

analyze

cem analyze --litelement --globs "src/**/*.ts"

cypress

concurrently --n "vite,cypress" --p "[{name}]" -c "green,yellow" "npm:cypress:open" "npm:dev" -k

prepare

npm run build

dev:prod

vite --mode production --config ./dev/vite.config.ts

docs:dev

cd docs && npm run dev

test:e2e

concurrently --n "vite,cypress" --p "[{name}]" -c "green,yellow" "npm:dev" "npm:cypress:run" -k

build:esm

npm run clean:esm && rollup -c rollup.config.mjs

build:min

export VJS_BUNDLE_TYPE=minified || set VJS_BUNDLE_TYPE=minified&& npm run clean:min && rollup -c rollup.config.mjs

build:umd

export VJS_BUNDLE_TYPE=umd || set VJS_BUNDLE_TYPE=umd&& npm run clean:umd && rollup -c rollup.config.mjs

checksize

npm run checksize:esm && npm run checksize:min && npm run checksize:umd

clean:all

rm -rf dist/min dist/esm dist/umd

clean:esm

rm -rf dist/esm

clean:min

rm -rf dist/min

clean:umd

rm -rf dist/umd

test:prod

npm run test:e2e:prod

docs:build

cd docs && npm run build

test:watch

npm run test:e2e:watch

cypress:run

cypress run

docs:deploy

cd docs && npm run build && npx gh-pages -d src/.vuepress/dist

lint:eslint

eslint 'src/**/*.ts'

cypress:open

cypress open

analyze:watch

cem analyze --litelement --globs "src/**/*.ts" --watch

build:umd_min

export VJS_BUNDLE_TYPE=umd_min || set VJS_BUNDLE_TYPE=umd_min&& npm run clean:umd_min && rollup -c rollup.config.mjs

checksize:esm

cd dist/esm/ && ls -S -lh | awk '{print $5, $9}'

checksize:min

cd dist/min/ && ls -S -lh | awk '{print $5, $9}'

checksize:umd

cd dist/umd/ && ls -S -lh | awk '{print $5, $9}'

clean:umd_min

rm -f dist/umd/ix-video.min.js

test:e2e:prod

concurrently --n "vite,cypress" --p "[{name}]" -c "green,yellow" "npm:dev" "npm run cypress:run:prod" -k

prepublishOnly

npm run build

test:e2e:watch

concurrently --n "vite,cypress" --p "[{name}]" -c "green,yellow" "npm:dev" "npm run cypress:run:watch" -k

build:esm:watch

npm run clean:esm && rollup -c rollup.config.mjs --watch

build:min:watch

export VJS_BUNDLE_TYPE=minified || set VJS_BUNDLE_TYPE=minified&& npm run clean:min && rollup -c rollup.config.mjs --watch

build:umd:watch

export VJS_BUNDLE_TYPE=umd || set VJS_BUNDLE_TYPE=umd&& npm run clean:umd && rollup -c rollup.config.mjs --watch

cypress:open-ct

cypress open-ct

cypress:run:prod

cypress run --browser chrome --env MODE=prod

semantic-release

semantic-release

cypress:run:watch

cypress run --browser chrome --env WATCH=true

lint:lit-analyzer

lit-analyzer

build:umd_min:watch

export VJS_BUNDLE_TYPE=umd_min || set VJS_BUNDLE_TYPE=umd_min&& npm run clean:umd_min && rollup -c rollup.config.mjs --watch
npm i @imgix/[email protected]

Metadata

Downloads