<commit_before>/*jshint node:true */

module.exports = function(grunt) {
  'use strict';

  // Project configuration
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      gruntfile: 'gruntfile.js',
      src: 'src/**/*.js',
      test: 'test/**/*.js'
    },

    clean: {
      dist: 'dist'
    },

    concat: {
      options: {separator: '\n'},
      dist: {
        src: ['src/scripts/module.js', 'src/scripts/**/*.js'],
        dest: 'dist/ivh-treeview.js'
      }
    },

    uglify: {
      dist: {
        src: 'dist/ivh-treeview.js',
        dest: 'dist/ivh-treeview.min.js'
      }
    },

    less: {
      dist: {
        files: {
          'dist/ivh-treeview.css': 'src/styles/ivh-treeview.less',
          'dist/ivh-treeview-theme-basic.css': 'src/styles/ivh-treeview-theme-basic.less'
        }<commit_msg>chore: Add jscs task<commit_after>/*jshint node:true */

module.exports = function(grunt) {
  'use strict';

  // Project configuration
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      gruntfile: 'gruntfile.js',
      src: 'src/**/*.js',
      test: 'test/**/*.js'
    },

    jscs: {
      options: {
        config: '.jscsrc'
      },
      gruntfile: {
        files: {
          src: [
            'gruntfile.js'
          ]
        }
      },
      spec: {
        files: {
          src: [
            'test/spec/**/*.js'
          ]
        }
      },
      scripts: {
        files: {
          src: [
            'src/scripts/**/*.js'
          ]
        }
      }
    },

    clean: {
      dist: 'dist'
    },

    concat: {
      options: {separator: '\n'},
      dist: {
        src: ['src/scripts/module.js', 'src/scripts/**/*.js'],
        dest: 'dist/ivh-treeview.js'
      }
    },

    uglify: {
      dist: {
        src: 'dist/ivh-treeview.js',
        dest: 'dist/ivh-treeview.min.js'
      }
    },

    less: {
      dist: {
        files: {
          'dist/ivh-treeview.css': 'src/styles/ivh-treeview.less',
          'dist/ivh-treeview-theme-basic.css': 'src/styles/ivh-treeview-theme-basic.less'
        }
{'fraction_non_alphanumeric': 0.18023255813953487, 'fraction_numerical': 0.0, 'mean_word_length': 1.4718232044198896, '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': '447242', 'n_tokens_mistral': 829, 'n_tokens_neox': 808, 'n_words': 113}