react-native-reanimated

v3.15.4
More powerful alternative to Animated library for React Native.

lint

yarn lint:js && yarn lint:plugin && yarn lint:cpp && yarn lint:java && yarn lint:ios

test

yarn format:js && yarn lint:js && yarn test:unit

build

yarn build:plugin && bob build

format

yarn format:js && yarn format:plugin && yarn format:java && yarn format:ios && yarn format:android && yarn format:common

lint:js

eslint --ext '.js,.ts,.tsx' src __tests__ __typetests__ && yarn prettier --check src __tests__ __typetests__

prepack

cp ../../README.md ./README.md

lint:cpp

./scripts/cpplint.sh

lint:ios

./scripts/validate-ios.sh && yarn format:ios --dry-run

postpack

rm ./README.md

format:js

prettier --write --list-different src __tests__ __typetests__

lint:docs

cd docs && yarn lint && cd ..

lint:java

./android/gradlew -p android spotlessCheck -q

test:unit

jest

format:ios

find apple/ -iname "*.h" -o -iname "*.m" -o -iname "*.mm" -o -iname "*.cpp" | xargs clang-format -i --Werror

format:docs

cd docs && yarn format

format:java

node ./scripts/format-java.js

lint:plugin

cd plugin && yarn lint && cd ..

build:plugin

cd plugin && yarn install && yarn build

format:common

find Common/ -iname "*.h" -o -iname "*.cpp" | xargs clang-format -i

format:plugin

cd plugin && yarn format

format:android

find android/src/ -iname "*.h" -o -iname "*.cpp" | xargs clang-format -i

type:check:all

yarn type:check:src && yarn type:check:plugin && ./scripts/test-ts.sh ../../apps/common-app/src/App.tsx __typetests__/common __typetests__/72plus __typetests__/legacy

type:check:app

./scripts/test-ts.sh ../../apps/common-app/src/App.tsx

type:check:src

yarn tsc --noEmit

use-strict-check

node ./scripts/validate-use-strict.js

type:check:plugin

cd plugin && yarn type:check:src && cd ..

find-unused-code:js

yarn ts-prune --ignore "index|.web." --error

test:update-snapshot

jest --updateSnapshot

type:check:tests:0.72+

./scripts/test-ts.sh __typetests__/72plus

type:check:tests:common

./scripts/test-ts.sh __typetests__/common

type:check:tests:legacy

./scripts/test-ts.sh __typetests__/legacy

circular-dependency-check

yarn madge --extensions js,ts,tsx --circular src lib

Metadata

  • MIT
  • Whatever
  • Krzysztof Magiera
  • released 10/1/2024

Downloads