react-navigation
v1.0.0-beta.19flow
flow
jest
jest
lint
eslint .
test
npm run lint && npm run flow-check && npm run jest
build
npm run build-docs && npm run build-web && npm run build-rn && npm run build-dot-flow
clean
rm -rf lib/ lib-rn/
start
npm run run-playground-ios
format
eslint --fix .
codecov
codecov
build-rn
mkdir -p lib-rn/views/ && cp -R src/views/assets lib-rn/views/assets && BABEL_ENV=publish-rn babel src -d lib-rn --ignore __tests__
watch-rn
mkdir -p lib-rn/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-rn babel -w src -d lib-rn
build-web
mkdir -p lib/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-web babel src -d lib --ignore __tests__
precommit
lint-staged
watch-web
mkdir -p lib/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-web babel -w src -d lib
build-docs
node scripts/compile-docs
flow-check
flow check --show-all-errors
prepublish
npm run clean && npm run build
run-redux-ios
cd examples/ReduxExample && react-native run-ios
build-dot-flow
find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\/src\//\/lib\//g'`.flow && cp $filepath `echo $filepath | sed 's/\/src\//\/lib-rn\//g'`.flow; done
run-redux-android
cd examples/ReduxExample && react-native run-android
run-playground-ios
cd examples/NavigationPlayground && npm run ios
run-playground-android
cd examples/NavigationPlayground && npm run android
npm i [email protected]
Metadata
- BSD-2-Clause
- Whatever
- Adam Miskiewicz
- released 11/3/2017