<commit_before>'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');


var LaunchpadGenerator = module.exports = function LaunchpadGenerator(args, options, config) {
    yeoman.generators.Base.apply(this, arguments);

    this.on('end', function () {
        this.installDependencies({ skipInstall: options['skip-install'] });
    });

    this.pkg = JSON.parse(this.readFileAsString(path.join(__dirname, '../package.json')));
};

util.inherits(LaunchpadGenerator, yeoman.generators.Base);

LaunchpadGenerator.prototype.askFor = function askFor() {
    var cb = this.async(),
        self = this;

    this.data = {};

    // have Yeoman greet the user.
    console.log(this.yeoman);
    console.log('Launchpad is an opinionated HTML5 starter kit for quick web apps and sites.');

    var promptsFirst = [
        // Application & workflow
        {
            type: 'input',
            name: 'appname',
            message: 'What are you calling this project?',
            default: 'MyApp'
        },
        {
            type: 'confirm',
            name: 'robots',
            message: 'Robots can crawl this project?',
            default: true
        },
        {
            type: 'confirm',
            name: 'yesExtras',
            message: 'Include third-party libraries?',
            default: true
        },
        // Components & libraries
        {
            type: 'checkbox',
            name: 'extras',
            message: 'Which extras would you like?',
            when: function (answers) {
                return answers.yesExtras;
            },
            choices: [
                {
                    name: 'jQuery?',
                    value: 'jquery',
                    checked: false
                },
                {
                    name: 'Modernizr?',
                    value: 'modernizr',
                    checked: false
                },
                {
                    name: 'Google analytics.js?',
                    value: 'analytics',
                    checked: false
                }
            ]
        },
        {
            type: 'input',
            name: 'analyticsId',
            message: 'Enter your Google analytics ID, if you have it ready',
            default: 'UA-XXXXXX-X',
            when: function (answers) {<commit_msg>Updates default options.<commit_after>'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');


var LaunchpadGenerator = module.exports = function LaunchpadGenerator(args, options, config) {
    yeoman.generators.Base.apply(this, arguments);

    this.on('end', function () {
        this.installDependencies({ skipInstall: options['skip-install'] });
    });

    this.pkg = JSON.parse(this.readFileAsString(path.join(__dirname, '../package.json')));
};

util.inherits(LaunchpadGenerator, yeoman.generators.Base);

LaunchpadGenerator.prototype.askFor = function askFor() {
    var cb = this.async(),
        self = this;

    this.data = {};

    // have Yeoman greet the user.
    console.log(this.yeoman);
    console.log('Launchpad is an opinionated HTML5 starter kit for quick web apps and sites.');

    var promptsFirst = [
        // Application & workflow
        {
            type: 'input',
            name: 'appname',
            message: 'What are you calling this project?',
            default: 'MyApp'
        },
        {
            type: 'confirm',
            name: 'robots',
            message: 'Robots can crawl this project?',
            default: true
        },
        {
            type: 'confirm',
            name: 'yesExtras',
            message: 'Include third-party libraries?',
            default: true
        },
        // Components & libraries
        {
            type: 'checkbox',
            name: 'extras',
            message: 'Which extras would you like?',
            when: function (answers) {
                return answers.yesExtras;
            },
            choices: [
                {
                    name: 'jQuery?',
                    value: 'jquery',
                    checked: true
                },
                {
                    name: 'Modernizr?',
                    value: 'modernizr',
                    checked: true
                },
                {
                    name: 'Google analytics.js?',
                    value: 'analytics',
                    checked: false
                }
            ]
        },
        {
            type: 'input',
            name: 'analyticsId',
            message: 'Enter your Google analytics ID, if you have it ready',
            default: 'UA-XXXXXX-X',
            when: function (answers) {
{'fraction_non_alphanumeric': 0.1162008825383484, 'fraction_numerical': 0.0004202563563773902, 'mean_word_length': 1.448559670781893, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1243278', 'n_tokens_mistral': 1250, 'n_tokens_neox': 1183, 'n_words': 310}