/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/gulp-es6@0.1.1/app/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var Generator=require("yeoman-generator"),mkdirp=require("mkdirp");module.exports=Generator.Base.extend({constructor:function(t,s){Generator.Base.apply(this,arguments),this.options=s},prompting:function(){var t=this.async();this.prompt(this._getPrompts(),function(s){this.config.set("answers",s),t()}.bind(this))},configuring:function(){var t=this.config.get("answers");this.fs.copyTpl(this.templatePath("_package.json"),this.destinationPath("package.json"),t),this.fs.copy(this.templatePath("_babelrc"),this.destinationPath(".babelrc")),this.fs.copy(this.templatePath("_eslintrc"),this.destinationPath(".eslintrc")),this.fs.copy(this.templatePath("_gitignore"),this.destinationPath(".gitignore")),this.fs.copy(this.templatePath("_travis.yml"),this.destinationPath(".travis.yml")),this.fs.copyTpl(this.templatePath("_README.md"),this.destinationPath("README.md"),t),this.fs.copy(this.templatePath("_CONTRIBUTING.md"),this.destinationPath("CONTRIBUTING.md")),this.fs.copy(this.templatePath("_LICENSE"),this.destinationPath("LICENSE"))},writing:function(){mkdirp("dist"),mkdirp("test"),mkdirp("src"),mkdirp("src/svg"),mkdirp("src/js"),mkdirp("src/styl"),mkdirp("src/html"),this.fs.copy(this.templatePath("_gulpfile.babel.js"),this.destinationPath("gulpfile.babel.js")),this.fs.copy(this.templatePath("_test/_example.js"),this.destinationPath("test/example.js")),this.fs.copy(this.templatePath("_src/_svg/_ic_build_black_24px.svg"),this.destinationPath("src/svg/ic_build_black_24px.svg")),this.fs.copy(this.templatePath("_src/_svg/_ic_done_black_24px.svg"),this.destinationPath("src/svg/ic_done_black_24px.svg")),this.fs.copy(this.templatePath("_src/_js/_main.js"),this.destinationPath("src/js/main.js")),this.fs.copy(this.templatePath("_src/_js/_otherFile.js"),this.destinationPath("src/js/otherFile.js")),this.fs.copy(this.templatePath("_src/_styl/_main.styl"),this.destinationPath("src/styl/main.styl")),this.fs.copy(this.templatePath("_src/_styl/_otherFile.styl"),this.destinationPath("src/styl/otherFile.styl")),this.fs.copy(this.templatePath("_src/_html/_index.html"),this.destinationPath("src/html/index.html"))},install:function(){this.options.skipInstallation||this.npmInstall(this._getDependencies(),{saveDev:!0})},end:function(){for(var t=['Run "npm start" to start developing.','Run "npm test" to lint code and run the unit tests.','Run "npm run build" build the files.',"Happy coding!"],s=0;s<t.length;s++)this.log(t[s])},_getPrompts:function(){return[{type:"input",name:"projectName",message:"What is the name of your project?",default:this.appname,store:!0},{type:"input",name:"projectDescription",message:"What is the description of your project?",default:"My Web App",store:!0},{type:"input",name:"githubUser",message:"What is your GitHub username?",store:!0,validate:function(t){return!!t.length}}]},_getDependencies:function(){return["vinyl-source-stream","del","gulp","browserify","watchify","vinyl-buffer","babelify","browser-sync","gulp-uglify","gulp-sourcemaps","gulp-autoprefixer","gulp-concat","gulp-if","gulp-watch","gulp-svg-sprite","gulp-cssnano","gulp-sequence","gulp-util","gulp-plumber","gulp-stylus","eslint","mocha","babel-core","babel-eslint","babel-polyfill","babel-preset-es2015","babel-preset-stage-0","eslint-config-airbnb","eslint-plugin-react","gulp-shell","yargs","http-server","gulp-htmlmin"]}});
//# sourceMappingURL=/sm/be7400d8d76408449ca19b0b427dce0df3c1fb08528235b5719e67bf50d78167.map