Unbreak npm publish

See https://github.com/facebook/react-native/pull/706#issuecomment-90799052
This commit is contained in:
Christopher Chedeau 2015-04-07 21:30:46 -07:00
parent 13b14d6771
commit d91d28a2a6
2 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ function run() {
}
function init(root, projectName) {
spawn(path.resolve(__dirname, 'init.sh'), [projectName], {stdio:'inherit'});
spawn(path.resolve(__dirname, '../init.sh'), [projectName], {stdio:'inherit'});
}
if (require.main === module) {

View File

@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "0.3.5",
"version": "0.3.7",
"description": "A framework for building native apps using React",
"repository": {
"type": "git",
@ -27,6 +27,7 @@
"Libraries",
"packager",
"cli.js",
"local-cli",
"init.sh",
"LICENSE",
"PATENTS",