@google/model-viewer

v0.3.1
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 --environment NODE_ENV:production

clean

rm -rf ./lib ./dist

serve

ws

watch

cross-os x-watch

prepare

npm run fetch-samples

build:dev

tsc && rollup -c --environment NODE_ENV:development

watch:linux

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

fetch-samples

./scripts/fetch-khronos-gltf-samples.sh

check-fidelity

node ./test/fidelity/index.js

prepublishOnly

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

watch:non-linux

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

compare-fidelity

./scripts/compare-fidelity-to-ref.sh

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

install-renderers

./scripts/install-third-party-renderers.sh

update-screenshots

node ./scripts/update-screenshots.js

create-legacy-bundles

node ./scripts/create-legacy-bundles.js

bootstrap-fidelity-dev

npm run fetch-samples && npm run install-renderers
npm i @google/[email protected]

Metadata

Downloads