@imgix/web-components

v0.0.1-rc.6
imgix Web Components library
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

rollup -c rollup.config.mjs

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

dev:prod

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

test:e2e

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

checksize

rollup -c ; cat index.bundled.js | gzip -9 | wc -c ; rm index.bundled.js

test:prod

npm run test:e2e:prod

test:watch

npm run test:e2e:watch

build:watch

rollup -c rollup.config.mjs --watch

cypress:run

cypress run

lint:eslint

eslint 'src/**/*.ts'

cypress:open

cypress open

analyze:watch

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

test:e2e:prod

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

test:e2e:watch

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

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
npm i @imgix/web-components

Metadata

Downloads