Skip to content

(obsolete) postinstall npm helper for managing Xcode dependencies

License

Notifications You must be signed in to change notification settings

ptmt/npm-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :(

About

(obsolete) postinstall npm helper for managing Xcode dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published