From cc4aa7be60ecd53dc4f3c9154d62f3da6356b799 Mon Sep 17 00:00:00 2001 From: Dan Abramov <dan.abramov@gmail.com> Date: Sun, 18 Sep 2016 14:06:06 +0300 Subject: [PATCH] Tweak init script output --- scripts/init.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/init.js b/scripts/init.js index e440a8306..8bdf61632 100644 --- a/scripts/init.js +++ b/scripts/init.js @@ -91,22 +91,22 @@ module.exports = function(appPath, appName, verbose, originalDirectory) { console.log('Success! Created ' + appName + ' at ' + appPath + '.'); console.log('Inside that directory, you can run several commands:'); console.log(); - console.log(chalk.cyan('npm start')); - console.log(' Starts the development server.'); + console.log(chalk.cyan(' npm start')); + console.log(' Starts the development server.'); console.log(); - console.log(chalk.cyan('npm test')); - console.log(' Starts the test runner.'); + console.log(chalk.cyan(' npm run build')); + console.log(' Bundles the app into static files for production.'); console.log(); - console.log(chalk.cyan('npm run build')); - console.log(' Bundles the app into static files for production.'); + console.log(chalk.cyan(' npm test')); + console.log(' Starts the test runner.'); console.log(); - console.log(chalk.cyan('npm run eject')); - console.log(' Removes this tool and copies build dependencies, configuration files'); - console.log(' and scripts into the app directory. If you do this, you can’t go back!'); + console.log(chalk.cyan(' npm run eject')); + console.log(' Removes this tool and copies build dependencies, configuration files'); + console.log(' and scripts into the app directory. If you do this, you can’t go back!'); console.log(); console.log('We suggest that you begin by typing:'); console.log(); - console.log(' cd', cdpath); + console.log(chalk.cyan(' cd'), cdpath); console.log(' ' + chalk.cyan('npm start')); if (readmeExists) { console.log(); -- GitLab