Commit 989fd856 authored by Brandon Newton's avatar Brandon Newton Committed by Ville Immonen
Browse files

Improve the output of scripts/init.js (#629)

* Improve the output of scripts/init.js

* Add semi-colons;
parent 341d4597
Showing with 14 additions and 5 deletions
+14 -5
......@@ -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`'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment