mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
upate packager command and use nvm when available
This commit is contained in:
parent
eb3c973947
commit
bcd667067c
@ -610,7 +610,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "rm -rf ./node_modules/realm\nnpm install realm";
|
||||
shellScript = "rm -rf ./node_modules/realm\n[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm//nvm.sh\"\nnpm install realm";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node_modules/react-native/packager/packager.sh"
|
||||
"start": "react-native start"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-native": "0.14.2",
|
||||
"react-native": "^0.14.2",
|
||||
"realm": "file:../../lib"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user