<commit_before>'use strict';

var path = require('path');
var yeoman = require('yeoman-generator');
var chalk = require('chalk');

var DataminrReactGenerator = yeoman.generators.Base.extend({
    init: function () {
        this.pkg = yeoman.file.readJSON(path.join(__dirname, '../package.json'));

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

    askFor: function () {
        var done = this.async();
        console.log(this.yeoman);
        console.log(chalk.cyan('You\'re using Dataminr\'s React/Flux generator. Let\'s get your project started!'));

        var prompts = [
            {
                name: 'project',
                message: 'What is this project\'s name?'
            }
        ];
//            {
//                type: 'checkbox',
//                name: 'features',
//                message: 'What more would you like?',
//                choices: [{
//                    name: 'Sass',
//                    value: 'includeSass',
//                    checked: true
//                }, {
//                    name: 'Lodash',
//                    value: 'includeLodash',
//                    checked: true
//                }, {
//                    name: 'jQuery',
//                    value: 'includeJQuery',
//                    checked: true
//                }, {
//                    name: 'Moment',
//                    value: 'includeMoment',
//                    checked: true
//                }, {
//                    name: 'd3',
//                    value: 'includeD3',
//                    checked: true
//                }, {
//                    name: 'Jasmine for unit tests with Istanbul code coverage',
//                    value: 'includeJasmine',
//                    checked: true
//                }]
//            }];

        this.prompt(prompts, function (answers) {
            var features = answers.features;

            this.projectName = answers.project || 'app';

//            function hasFeature(feat) {
//                return features.indexOf(feat) !== -1;
//            }

            // manually deal with the response, get back and store the results.
            // we change a bit this way of doing to automatically do this in the self.prompt() method.
//            this.includeSass = hasFeature('includeSass');
//            this.includeLodash = hasFeature('includeLodash');
//            this.includeJQuery = hasFeature('includeJQuery');
//            this.includeMoment = hasFeature('includeMoment');
//            this.includeD3 = hasFeature('includeD3');
//            this.includeJasmine = hasFeature('includeJasmine');

            done();<commit_msg>Removed code intended for future implementation of library options.<commit_after>'use strict';

var path = require('path');
var yeoman = require('yeoman-generator');
var chalk = require('chalk');

var DataminrReactGenerator = yeoman.generators.Base.extend({
    init: function () {
        this.pkg = yeoman.file.readJSON(path.join(__dirname, '../package.json'));

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

    askFor: function () {
        var done = this.async();
        console.log(this.yeoman);
        console.log(chalk.cyan('You\'re using Dataminr\'s React/Flux generator. Let\'s get your project started!'));

        var prompts = [
            {
                name: 'project',
                message: 'What is this project\'s name?'
            }
        ];

        this.prompt(prompts, function (answers) {
            var features = answers.features;

            this.projectName = answers.project || 'app';

            done();
{'fraction_non_alphanumeric': 0.13823682837767345, 'fraction_numerical': 0.0013041210224308817, 'mean_word_length': 1.4180327868852458, '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': '1397144', 'n_tokens_mistral': 1019, 'n_tokens_neox': 955, 'n_words': 225}