react-native-binary

0.1.1 • Public • Published

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

Parameter Description Default
platform Which platform to calculate hash ios
folders Comma separated list of additional folders to include in the hashing None

License

MIT License. © Joel Arvidsson 2021

Package Sidebar

Install

npm i react-native-binary

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

6.29 kB

Total Files

6

Last publish

Collaborators

  • oblador