0.1.1 • Published 3 years ago

react-native-binary v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

React Native Binary

GitHub license npm version npm downloads

CLI commands to reuse React Native binaries

Installation

yarn add react-native-binary --dev

Create or edit your react-native.config.js to look like this:

module.exports = {
  commands: require('react-native-binary'),
};

Usage

binary-hash command

Calculates a hash for which the project is expected to be producing identical native binary builds. This is useful for optimizing build pipelines to detect when a binary can be reused.

npx react-native binary-hash --platform ios --folders patches

Parameters

ParameterDescriptionDefault
platformWhich platform to calculate hashios
foldersComma separated list of additional folders to include in the hashingNone

License

MIT License. © Joel Arvidsson 2021