re-add npm install for embark demo

This commit is contained in:
Iuri Matias 2018-01-03 12:42:38 -05:00
parent 0e502c1537
commit 569734a80d
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ class TemplateGenerator {
utils.cd(fspath); utils.cd(fspath);
utils.sed('package.json', '%APP_NAME%', name); utils.sed('package.json', '%APP_NAME%', name);
if (name === 'embark_demo') {
console.log('Installing packages...'.green);
utils.runCmd('npm install');
}
console.log('Init complete'.green); console.log('Init complete'.green);
console.log('\nApp ready at '.green + fspath); console.log('\nApp ready at '.green + fspath);