Skip to content

Commit

Permalink
Improve the output of scripts/init.js (#629)
Browse files Browse the repository at this point in the history
* Improve the output of scripts/init.js

* Add semi-colons;
  • Loading branch information
btnwtn authored and fson committed Sep 11, 2016
1 parent 341d459 commit 989fd85
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions scripts/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,24 @@ 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(' * npm start: Starts the development server.');
console.log(' * npm test: Starts the test runner.');
console.log(' * npm run build: Bundles the app into static files for production.');
console.log(' * npm run eject: Removes this tool. If you do this, you can’t go back!');
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();
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 eject'));
console.log(' Removes this tool and copies build dependencies, configs,');
console.log(' and scripts into the app directory.');
console.log(' 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(' npm start');
console.log(' ' + chalk.cyan('npm start'));
if (readmeExists) {
console.log();
console.log(chalk.yellow('You had a `README.md` file, we renamed it to `README.old.md`'));
Expand Down

0 comments on commit 989fd85

Please sign in to comment.