mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-16 19:09:05 +08:00
Add some newlines to the console output
This commit is contained in:
@@ -93,6 +93,7 @@ function createApp(name, verbose, version) {
|
||||
|
||||
console.log('Installing packages. This might take a couple minutes.');
|
||||
console.log('Installing react-scripts from npm...');
|
||||
console.log();
|
||||
|
||||
run(root, appName, version, verbose, originalDirectory);
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
|
||||
|
||||
// Run another npm install for react and react-dom
|
||||
console.log('Installing react and react-dom from npm...');
|
||||
console.log();
|
||||
// TODO: having to do two npm installs is bad, can we avoid it?
|
||||
var args = [
|
||||
'install',
|
||||
@@ -71,6 +72,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
|
||||
cdpath = appPath;
|
||||
}
|
||||
|
||||
console.log();
|
||||
console.log('Success! Created ' + appName + ' at ' + appPath + '.');
|
||||
console.log('Inside that directory, you can run several commands:');
|
||||
console.log();
|
||||
|
||||
Reference in New Issue
Block a user