Skip to content

Commit cc4aa7b

Browse files
committed
Tweak init script output
1 parent d279aa0 commit cc4aa7b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

scripts/init.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,22 +91,22 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
9191
console.log('Success! Created ' + appName + ' at ' + appPath + '.');
9292
console.log('Inside that directory, you can run several commands:');
9393
console.log();
94-
console.log(chalk.cyan('npm start'));
95-
console.log(' Starts the development server.');
94+
console.log(chalk.cyan(' npm start'));
95+
console.log(' Starts the development server.');
9696
console.log();
97-
console.log(chalk.cyan('npm test'));
98-
console.log(' Starts the test runner.');
97+
console.log(chalk.cyan(' npm run build'));
98+
console.log(' Bundles the app into static files for production.');
9999
console.log();
100-
console.log(chalk.cyan('npm run build'));
101-
console.log(' Bundles the app into static files for production.');
100+
console.log(chalk.cyan(' npm test'));
101+
console.log(' Starts the test runner.');
102102
console.log();
103-
console.log(chalk.cyan('npm run eject'));
104-
console.log(' Removes this tool and copies build dependencies, configuration files');
105-
console.log(' and scripts into the app directory. If you do this, you can’t go back!');
103+
console.log(chalk.cyan(' npm run eject'));
104+
console.log(' Removes this tool and copies build dependencies, configuration files');
105+
console.log(' and scripts into the app directory. If you do this, you can’t go back!');
106106
console.log();
107107
console.log('We suggest that you begin by typing:');
108108
console.log();
109-
console.log(' cd', cdpath);
109+
console.log(chalk.cyan(' cd'), cdpath);
110110
console.log(' ' + chalk.cyan('npm start'));
111111
if (readmeExists) {
112112
console.log();

0 commit comments

Comments
 (0)