react-lottie-player

v1.4.2
Fully declarative React Lottie player

test

run-s test:lint test:build test:unit

build

rm -rf dist && microbundle-crl src/LottiePlayer.js src/LottiePlayerLight.js --no-compress --format modern,cjs -o dist && cp src/*.d.ts dist

start

rm -rf dist && microbundle-crl watch src/LottiePlayer.js src/LottiePlayerLight.js --no-compress --format modern,cjs -o dist

deploy

gh-pages -d example/build

prepare

run-s build

predeploy

cd example && yarn install && yarn run build

test:lint

eslint .

test:unit

cross-env CI=1 react-scripts test --env=jsdom

test:build

run-s build

test:watch

react-scripts test --env=jsdom

Metadata

  • MIT
  • >=10
  • mifi
  • released 4/14/2022

Downloads

Maintainers