mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-15 09:18:35 -10: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:
1 parent
82ed1c7a70
commit
46292ce81d
1 file changed
+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