[global-cli] Fix npm start
Before releasing new react-native-cli, need to look into
suppressing output from 'npm install', added in
5da0e135b6
This commit is contained in:
parent
7100df0062
commit
d87d127402
|
@ -172,7 +172,7 @@ function createProject(name, verbose) {
|
|||
version: '0.0.1',
|
||||
private: true,
|
||||
scripts: {
|
||||
start: 'react-native start'
|
||||
start: 'node node_modules/react-native/local-cli/cli.js start'
|
||||
}
|
||||
};
|
||||
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));
|
||||
|
|
Loading…
Reference in New Issue