JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q50814F
  • License ISC

Change Android and iOS files before build

Package Exports

  • react-native-version-update
  • react-native-version-update/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-version-update) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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"
}