(obsolete) postinstall npm helper for managing Xcode dependencies
JavaScript Objective-C Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.eslintrc
.flowconfig
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

npm install react-native-plugin coming back to React Native.

Build Status npm version

This is Obsolete See https://github.com/rnpm/rnpm

Usage

Add npm-native and two simple hooks to plugin's package.json:

{
  "scripts" :
  {
    "postinstall" : "npm-native --install path_to_lib.xcodeproj",
    "uninstall" : "npm-native --uninstall path_to_lib.xcodeproj"
  },
  dependencies: {
    "npm-native": "0.1.x"
  }
}

--path_to_lib — where your XCode project is placed. E.g. npm-native --install RNGL.xcodeproj for gl-react-native.

TODO

  • Backup before modify .pbxproj;

  • Validate the final .pbxproj file and if it fails rollback it to the previous state;

  • Allow to copy resources like font files;

  • Android projects support;

Plugins includes npm-native

Nothing here yet :(