status-mobile/postinstall.sh

14 lines
362 B
Bash
Raw Normal View History

#!/bin/sh
# rn-nodeify
# temporary hack due to https://github.com/facebook/react-native/issues/4968
./node_modules/.bin/rn-nodeify --install --hack;
2016-11-19 12:02:41 +00:00
npm install --save react@15.3.1;
npm install --save react-native-tcp@2.0.4;
# 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"
fi