Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 814 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 814 Bytes

react-native-fix-headers

Script that automagically adds needed Header Search Path entries for all dependencies in node_modules.

If you are using custom React Native modules you often need to set proper Header Search Path in XCode to successfully build the project. This node script makes it as easy as calling npm run fix-headers.

Installation

  1. npm install --save-dev react-native-fix-headers
  2. Add a scripts entry in your package.json like so:
"scripts": {
  "fix-headers": "node `npm bin`/react-native-fix-headers"
},

Usage

npm run fix-headers

License

Any time you use this script you must smile at somebody around you 😊

Dependencies