/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/generator-es6app@0.1.0/app/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";var yeoman=require("yeoman-generator"),chalk=require("chalk"),yosay=require("yosay");module.exports=yeoman.generators.Base.extend({initializing:function(){this.pkg=require("../package.json")},prompting:function(){var t=this.async();this.log(yosay("Welcome to the stunning"+chalk.red(" Es6App ")+" generator!"));var i=[{type:"input",name:"name",message:"Please provide your Project Name:",default:this.appname}];this.prompt(i,function(i){this.name=i.name,t()}.bind(this))},writing:{app:function(){this.fs.copyTpl(this.templatePath("_package.json"),this.destinationPath("package.json"),{appName:this.name}),this.fs.copyTpl(this.templatePath("_bower.json"),this.destinationPath("bower.json"),{appName:this.name}),this.fs.copy(this.templatePath("_config.js"),this.destinationPath("config.js")),this.fs.copy(this.templatePath("_gulpfile.js"),this.destinationPath("gulpfile.js"))},projectfiles:function(){this.mkdir("src"),this.mkdir("dest"),this.fs.copy(this.templatePath("_main.js"),this.destinationPath("src/main.js")),this.fs.copy(this.templatePath("editorconfig"),this.destinationPath(".editorconfig")),this.fs.copy(this.templatePath("jshintrc"),this.destinationPath(".jshintrc")),this.fs.copyTpl(this.templatePath("_index.html"),this.destinationPath("index.html"),{appName:this.name})}},install:function(){this.installDependencies({skipInstall:this.options["skip-install"]})},end:function(){this.spawnCommand("jspm",["install","-y"])}});
//# sourceMappingURL=/sm/656c68ae60ac063432a19a8025a66fd880b452d7c95e83ca5eb5c4b6fe988dc5.map