<commit_before>var generators = require('yeoman-generator');
var inquirer = require("inquirer");
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = generators.Base.extend({

	initializing: function() {
		this.store = {
			"bower-dependencies": []
		}
	},

  	writing: function() {
  		// App directory structure
  		this.directory('app', 'app');

  		this.template('_bower.json', 'bower.json');
  		this.template('_.bowerrc', '.bowerrc');
		  this.template('_package.json', 'package.json');
		  this.template('_gulpfile.js', 'gulpfile.js');
      this.template('_.gitignore', '.gitignore');
      this.template('_index.jade', './app/index.jade');
  	},

  	install: function() {
		this.installDependencies();
  	},

  	end: function() {
  		this.log(yosay('Almost done! ' + chalk.green('running default gulp task')));
		this.spawnCommand('node_modules/gulp/bin/gulp.js');
  	}
});<commit_msg>Refactoring<commit_after>var generators = require('yeoman-generator');
var inquirer = require("inquirer");
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = generators.Base.extend({

    initializing: function () {
        this.store = {
            "bower-dependencies": []
        }
    },

    writing: function () {
        // App directory structure
        this.directory('app', 'app');

        this.template('_bower.json', 'bower.json');
        this.template('_.bowerrc', '.bowerrc');
        this.template('_package.json', 'package.json');
        this.template('_gulpfile.js', 'gulpfile.js');
        this.template('_.gitignore', '.gitignore');
        this.template('_index.jade', './app/index.jade');
    },

    install: function () {
        this.installDependencies();
    },

    end: function () {
        this.log(yosay('Almost done! ' + chalk.green('running default gulp task')));
        this.spawnCommand('node_modules/gulp/bin/gulp.js');
    }
});
{'fraction_non_alphanumeric': 0.18675013041210226, 'fraction_numerical': 0.0, 'mean_word_length': 3.2622222222222224, 'pattern_counts': {'":': 2, '<': 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': '81728', 'n_tokens_mistral': 655, 'n_tokens_neox': 618, 'n_words': 98}