mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
[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:
2
react-native-cli/index.js
vendored
2
react-native-cli/index.js
vendored
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user