/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/generator-chaplinjs@0.0.2/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 util=require("util"),path=require("path"),yeoman=require("yeoman-generator"),ChaplinjsGenerator=module.exports=function(t,e){yeoman.generators.Base.apply(this,arguments),this.on("end",(function(){this.installDependencies({skipInstall:e["skip-install"],callback:function(){this.spawnCommand("grunt",["prepare"])}.bind(this)})})),this.pkg=JSON.parse(this.readFileAsString(path.join(__dirname,"../package.json")))};util.inherits(ChaplinjsGenerator,yeoman.generators.Base),ChaplinjsGenerator.prototype.askFor=function(){var t=this.async();console.log(this.yeoman);this.prompt([{name:"appName",message:"Application name",default:"appName"},{name:"appTitle",message:"Application title",default:"Application Title"}],function(e){this.appName=e.appName,this.githubUser=e.githubUser,this.appTitle=e.appTitle,t()}.bind(this))},ChaplinjsGenerator.prototype.app=function(){this.mkdir("src"),this.directory("src/app","src/app"),this.directory("src/vendor","src/vendor"),this.directory("src/test","src/test"),this.template("src/test/spec/index.html","src/test/spec/index.html"),this.template("src/test/spec/coverage.html","src/test/spec/coverage.html"),this.template("src/test/benchmark/index.html","src/test/benchmark/index.html"),this.template("src/index.html","src/index.html"),this.template("src/app/config/application.js","src/app/config/application.js"),this.copy("Gruntfile.js","Gruntfile.js"),this.template("_package.json","package.json"),this.template("_bower.json","bower.json"),this.copy("_yuidoc.json","yuidoc.json")},ChaplinjsGenerator.prototype.projectfiles=function(){this.copy("editorconfig",".editorconfig"),this.copy("jshintrc",".jshintrc"),this.copy("bowerrc",".bowerrc"),this.copy("gitattributes",".gitattributes"),this.copy("gitignore",".gitignore")};
//# sourceMappingURL=/sm/8fca7a126c7c1511408de5c0340800aa9e03b00cb3ba0883a5ca9ed5fe4e5e3e.map