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L,KAAK,qBACT","file":"/npm/generator-react-webpack-boilerplate@0.1.1/app/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/generator-react-webpack-boilerplate@0.1.1/app/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\nvar yeoman = require('yeoman-generator');\nvar chalk = require('chalk');\nvar yosay = require('yosay');\n\nmodule.exports = yeoman.generators.Base.extend({\n    prompting: function() {\n        var done = this.async();\n\n        // Have Yeoman greet the user.\n        this.log(yosay(\n            'Welcome to ' + chalk.red('React-Webpack-Boilerplate') + ' generator!'\n        ));\n\n        var prompts = [{\n            type: 'input',\n            name: 'appName',\n            message: 'What is your app\\'s name?',\n            default: 'my app'\n        }];\n\n        this.prompt(prompts, function(props) {\n            this.props = props;\n            this.appName = props.appName;\n\n            done();\n        }.bind(this));\n    },\n\n    writing: {\n        app: function() {\n            this.fs.copy(this.templatePath('app.js'), this.destinationPath('src/app/app.js'));\n            this.fs.copy(this.templatePath('bundle.js'), this.destinationPath('server/bundle.js'));\n            this.fs.copy(this.templatePath('comp.js'), this.destinationPath('src/app/components/comp.js'));\n            this.fs.copy(this.templatePath('index.html'), this.destinationPath('src/app/index.html'));\n            this.fs.copy(this.templatePath('_package.json'), this.destinationPath('package.json'));\n            this.fs.copy(this.templatePath('robots.txt'), this.destinationPath('src/robots.txt'));\n            this.fs.copy(this.templatePath('server.js'), this.destinationPath('server.js'));\n            this.fs.copy(this.templatePath('app.scss'), this.destinationPath('src/app/assets/styles/app.scss'));\n        },\n\n        projectfiles: function() {\n            this.fs.copy(this.templatePath('_eslintrc'), this.destinationPath('.eslintrc'));\n            this.fs.copy(this.templatePath('_gitignore'), this.destinationPath('.gitignore'));\n            this.fs.copy(this.templatePath('webpack.config.js'), this.destinationPath('webpack.config.js'));\n            this.fs.copy(this.templatePath('webpack.production.config.js'), this.destinationPath('webpack.production.config.js'));\n        }\n    },\n\n    install: function() {\n        this.installDependencies();\n    }\n});\n"]}