@google/model-viewer

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

dev

npm run build:dev && npm-run-all --parallel 'watch:tsc -- --preserveWatchOutput' 'watch:test' 'serve -- -s'

test

karma start --single-run

build

npm run build:tsc && npm run build:rollup

clean

rm -rf ./lib ./dist

serve

http-server -c-1

prepare

if [ ! -L './shared-assets' ]; then ln -s ./node_modules/@google/model-viewer-shared-assets ./shared-assets; fi

test:ci

npm run test

build:dev

npm run build:tsc && npm run build:rollup:dev

build:tsc

tsc --incremental

watch:tsc

tsc -w --incremental

watch:test

karma start

build:rollup

rollup -c --environment NODE_ENV:production

watch:rollup

rollup -c -w --environment NODE_ENV:production

check-fidelity

node ./test/fidelity/index.js ./test/fidelity/config.json

prepublishOnly

npm run build

build:rollup:dev

rollup -c --environment NODE_ENV:development

compare-fidelity

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

watch:rollup:dev

rollup -c -w --environment NODE_ENV:development

update:package-lock

rm ./package-lock.json && npm i --only=production
npm i @google/[email protected]

Metadata

Downloads