Comparing version 0.1.5 to 0.1.6
@@ -86,11 +86,11 @@ #!/usr/bin/env node | ||
console.log(chalk.white.bold('Let\'s setup firebase')); | ||
execSync('firebase init', { stdio: 'inherit' }).then(() => { | ||
console.log(chalk.white.bold('Let\'s get started')); | ||
console.log(chalk.green('Step 1: cd into the newly created '), chalk.green.bold(appName), chalk.green(' directory')); | ||
console.log('----------------------------------------------------------'); | ||
console.log(chalk.green('Step 2: run '), chalk.green.bold('yarn run deploy')); | ||
console.log('----------------------------------------------------------'); | ||
// add your own custom messages here. | ||
console.log('----------------------------------------------------------'); | ||
}) | ||
exec('firebase init', (error, stdout, stderr) => { | ||
console.log(chalk.white.bold('Let\'s get started')); | ||
console.log(chalk.green('Step 1: cd into the newly created '), chalk.green.bold(appName), chalk.green(' directory')); | ||
console.log('----------------------------------------------------------'); | ||
console.log(chalk.green('Step 2: run '), chalk.green.bold('yarn run deploy')); | ||
console.log('----------------------------------------------------------'); | ||
// add your own custom messages here. | ||
console.log('----------------------------------------------------------'); | ||
}); | ||
}) | ||
@@ -97,0 +97,0 @@ .catch(error => { |
{ | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "index.js", | ||
@@ -9,3 +9,5 @@ "bin": "bin/cli.js", | ||
"scripts": { | ||
"build-source": "node bin/build.js" | ||
"build-source": "node bin/build.js", | ||
"deploy-source": "node bin/deploy.js", | ||
"create-source": "node bin/create.js" | ||
}, | ||
@@ -12,0 +14,0 @@ "repository": "", |
24707