mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 17:34:07 +08:00
Unbreak npm publish
See https://github.com/facebook/react-native/pull/706#issuecomment-90799052
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user