@google/model-viewer

v0.0.7
Easily display interactive 3D models on the web and in AR!
ar gltf glb webar webvr webxr arcore arkit webaronarcore and 5 more...

dev

concurrently "npm run watch" "npm run serve"

test

npm run clean && npm run build && npm run wct-local-chrome

build

tsc && rollup -c

clean

rm -rf ./lib ./dist

serve

ws

watch

cross-os x-watch

watch:linux

chokidar --polling --poll-interval=1000 --initial src/*.js src/**/*.js -c "npm run build"

prepublishOnly

npm run build && npm run create-legacy-bundles

watch:non-linux

chokidar --initial src/*.js src/**/*.js -c "npm run build"

wct-local-chrome

wct --config-file test/wct-local.conf.json -l chrome

wct-sauce-legacy

wct --config-file test/wct-legacy.conf.json --plugin sauce

wct-sauce-modern

wct --config-file test/wct-sauce.conf.json --plugin sauce

create-legacy-bundles

node ./scripts/create-legacy-bundles.js
npm i @google/[email protected]

Metadata

Downloads