mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[global-cli] Fix npm start
Before releasing new react-native-cli, need to look into suppressing output from 'npm install', added in https://github.com/facebook/react-native/commit/5da0e135b6224a2ec9677da3494b8c1e90b06908
This commit is contained in:
Vendored
+1
-1
@@ -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