Skip to content

LucasMonteiro1/react-native-version-update

Repository files navigation

React Native Version Update

npm version npm downloads Publish Package
NPM

This project works together with Version Builder and changes the files of the Android and iOS.

Requirements

  • React Native project

Setup

npm install --save react-native-version-update

Inside package.json

"scripts": {
    ...
    "version": "version-update"
}

Parameters

Builder

Passing --builder, on start it returns the value of the request and adds in the package.json of the project with React Native the attribute buildNumber.

Date

Passing --date adds in the package.json of the project with React Native the attribute buildDate.

Examples

"scripts": {
    ...
    "version": "version-update --builder=example-app"
}
"scripts": {
    ...
    "version": "version-update --date --builder=example-app"
}

About

Change Android and iOS files before build

Resources

Stars

Watchers

Forks

Packages

No packages published