<commit_before>module.exports = function(grunt) {

  'use strict';

  grunt.initConfig({

    /**
     * Pull in the package.json file so we can read its metadata.
     */
    pkg: grunt.file.readJSON('package.json'),

    /**
     * Here's a banner with some template variables.
     * We'll be inserting it at the top of minified assets.
     */
    banner:
      '/*\n' +
      ' * ==========================================================================\n' +
      ' * Package name: <%= pkg.name %>\n' +
      ' * Version: <%= pkg.version %>\n' +
      ' * URL: <%= pkg.homepage %>\n' +
      ' * A public domain work of the <%= pkg.author.name %>\n' +
      ' * ==========================================================================\n' +
      '*/\n\n',


    concat: {
      ltIE8: {
        src: [
          'front/vendor/font-awesome/css/font-awesome-ie7.min.css'
        ],
        // Using .min keeps topdoc from rendering it as a demo page
        dest: 'assets/css/vendor.lt-ie9.min.css',
      },
      topdocIcons: {
        src: [
          'front/topdoc-templates/includes/filter-components-without-markup.jade',
          'front/topdoc-templates/icons/src.jade'
        ],
        dest: 'front/topdoc-templates/icons/index.jade',
      }
    },


    /**
     * LESS: https://github.com/gruntjs/grunt-contrib-less
     *
     * Compile LESS files to CSS.
     * Make sure to add any other CSS libraries/files you'll be using.
     */
    less: {
      main: {
        options: {
          paths: ['front/src/less']
        },
        files: {
          'assets/css/<%= pkg.name %>.css': ['<%= banner %>', 'front/src/less/style.less']
        }
      }
      /*
      ,
      ie8: {
        options: {
          paths: ['src/static']
        },
        files: {
          'assets/css/<%= pkg.name %>.ie8.css': ['front/src/less/<%= pkg.name %>.ie8.less']
        }
      }
      */
    },

    autoprefixer: {
      options: {
        // Options we might want to enable in the future.
        diff: false,
        map: false
      },
      multiple_files: {
        // Prefix all CSS files found in `src/static/css` and overwrite.
        expand: true,
        src: 'assets/css/<%= pkg.name %>.css'
      },
    },

    legacssy: {
      demo: {
        options: {
          legacyWidth: 960
        },
        files: {
          'assets/css/<%= pkg.name %>.lt-ie9.min.css': 'assets/css/<%= pkg.name %>.css'
        }
      }
    },


    /**
     * CSSMin: https://github.com/gruntjs/grunt-contrib-cssmin
     *
     * Minify CSS.
     *
     */
    cssmin: {
      minify: {
        files: {
          'assets/css/vendor.min.css': [
            'front/vendor/normalize.css/normalize.css',
            'front/vendor/font-awesome/css/font-awesome.css'<commit_msg>Merging Scott's hotfix for the body margin bug<commit_after>module.exports = function(grunt) {

  'use strict';

  grunt.initConfig({

    /**
     * Pull in the package.json file so we can read its metadata.
     */
    pkg: grunt.file.readJSON('package.json'),

    /**
     * Here's a banner with some template variables.
     * We'll be inserting it at the top of minified assets.
     */
    banner:
      '/*\n' +
      ' * ==========================================================================\n' +
      ' * Package name: <%= pkg.name %>\n' +
      ' * Version: <%= pkg.version %>\n' +
      ' * URL: <%= pkg.homepage %>\n' +
      ' * A public domain work of the <%= pkg.author.name %>\n' +
      ' * ==========================================================================\n' +
      '*/\n\n',


    concat: {
      ltIE8: {
        src: [
          'front/vendor/font-awesome/css/font-awesome-ie7.min.css'
        ],
        // Using .min keeps topdoc from rendering it as a demo page
        dest: 'assets/css/vendor.lt-ie9.min.css',
      },
      topdocIcons: {
        src: [
          'front/topdoc-templates/includes/filter-components-without-markup.jade',
          'front/topdoc-templates/icons/src.jade'
        ],
        dest: 'front/topdoc-templates/icons/index.jade',
      }
    },


    /**
     * LESS: https://github.com/gruntjs/grunt-contrib-less
     *
     * Compile LESS files to CSS.
     * Make sure to add any other CSS libraries/files you'll be using.
     */
    less: {
      main: {
        options: {
          paths: ['front/src/less']
        },
        files: {
          'assets/css/<%= pkg.name %>.css': ['<%= banner %>', 'front/src/less/style.less']
        }
      }
      /*
      ,
      ie8: {
        options: {
          paths: ['src/static']
        },
        files: {
          'assets/css/<%= pkg.name %>.ie8.css': ['front/src/less/<%= pkg.name %>.ie8.less']
        }
      }
      */
    },

    autoprefixer: {
      options: {
        // Options we might want to enable in the future.
        diff: false,
        map: false
      },
      multiple_files: {
        // Prefix all CSS files found in `src/static/css` and overwrite.
        expand: true,
        src: 'assets/css/<%= pkg.name %>.css'
      },
    },

    legacssy: {
      demo: {
        options: {
          legacyWidth: 960
        },
        files: {
          'assets/css/<%= pkg.name %>.lt-ie9.min.css': 'assets/css/<%= pkg.name %>.css'
        }
      }
    },


    /**
     * CSSMin: https://github.com/gruntjs/grunt-contrib-cssmin
     *
     * Minify CSS.
     *
     */
    cssmin: {
      minify: {
        files: {
          'assets/css/vendor.min.css': [
            'front/vendor/normalize-css/normalize.css',
            'front/vendor/font-awesome/css/font-awesome.css'
{'fraction_non_alphanumeric': 0.20799857168362793, 'fraction_numerical': 0.0035707909301910374, 'mean_word_length': 1.6424528301886792, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 4, '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': '4181898', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1787, 'n_words': 354}