status-mobile/postinstall.sh

16 lines
615 B
Bash
Raw Normal View History

#!/bin/sh
# rn-nodeify
# temporary hack due to https://github.com/facebook/react-native/issues/4968
2017-03-07 17:29:59 +00:00
./node_modules/.bin/rn-nodeify --install "assert,zlib,buffer,inherits,console,constants,crypto,dns,domain,events,http,https,os,path,process,punycode,querystring,fs,stream,string_decoder,timers,tty,url,util,net,vm" --hack;
npm install --save react@16.0.0-alpha.6;
npm install --save react-native-tcp@3.2.1;
2017-07-10 10:29:58 +00:00
ln -s ../node_modules/react-native-mapbox-gl/ios/Mapbox.framework ios;
# symlink for re-natal
if ! [ -f re-natal ]; then
ln -s ./node_modules/re-natal/index.js re-natal;
else
2017-02-02 06:07:44 +00:00
echo "re-natal exists"
2017-07-10 10:29:58 +00:00
fi