react-native-fix-headers
v1.2.2
Published
Automatically fix Header Search Paths in React Native modules
Downloads
28
Maintainers
Readme
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
npm install --save-dev react-native-fix-headers
- Add a
scripts
entry in yourpackage.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 😊