<commit_before>// Grunt: The JavaScript Task Runner
module.exports = function(grunt) {

	require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);

	grunt.initConfig({

		pkg: grunt.file.readJSON('package.json'),

		connect: {
			server: {
				options: {
					port: 8080,
					protocol: 'http',
					hostname: 'localhost',
					base: '.',
					keepalive: false,
					livereload: true,
					open: true
				}
			}
		},

		watch: {
			sass: {
				files: ['sass/*.scss' ,'sass/**/*.scss','sass/**/**/*.scss'],
				tasks: ['compass:dist']
			},
      
      scripts: {
        files: ['js/src/*.js'],
        tasks: ['concat', 'uglify'],
        options: {
          spawn: false,
        }
      },
			css: {
				files: ['*.css']
			},

			livereload: {
				files: [
					'**/*.css'
				],

				options: {
					livereload: true
				}
			}
		},

		compass: {
			dist: {
				options: {
					config: 'config.rb',
					sourcemap: true
				}
			}
		},
    concat: {   
      dist: {
        src: [
          'js/src/*.js', // All JS in the libs folder
        ],
        dest: 'js/morpheus.scripts.js',
      }
    },
    
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
          '<%= grunt.template.today("yyyy-mm-dd") %>' + ' This file is compiled */'
      },
      dist: {
        src: 'js/morpheus.scripts.js',
        dest: 'js/morpheus.scripts.min.js'
      }
    }
    
	});<commit_msg>SAK-25514 Refactoring. Grunt adding  development and distribution profiles <commit_after>// Grunt: The JavaScript Task Runner
module.exports = function(grunt) {

	require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);

	grunt.initConfig({

		pkg: grunt.file.readJSON('package.json'),

		connect: {
			server: {
				options: {
					port: 8080,
					protocol: 'http',
					hostname: 'localhost',
					base: '.',
					keepalive: false,
					livereload: true,
					open: true
				}
			}
		},

		watch: {
			sass: {
				files: ['sass/{,**/}*.scss'],
				tasks: ['compass:dev']
			},
      
      scripts: {
        files: ['js/src/*.js'],
        tasks: ['concat', 'uglify'],
        options: {
          spawn: false,
        }
      },
      
			css: {
				files: ['*.css']
			},

			livereload: {
				files: [
					'**/*.css'
				],

				options: {
					livereload: true
				}
			}
		},

		compass: {
			dist: {
				options: {
          environment: 'production',
          outputStyle: 'compressed',
					config: 'config.rb',
					sourcemap: true
				}
			},
			dev: {
				options: {
          environment: 'development',
          outputStyle: 'expanded',
					config: 'config.rb',
					sourcemap: true
				}
			}
		},
    
    concat: {   
      dist: {
        src: [
          'js/src/*.js', // All JS in the libs folder
        ],
        dest: 'js/morpheus.scripts.js',
      }
    },
    
    uglify: {
      options: {
        banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
          '<%= grunt.template.today("yyyy-mm-dd") %>' + ' This file is compiled */'
      },
      dist: {
        src: 'js/morpheus.scripts.js',
        dest: 'js/morpheus.scripts.min.js'
      }
    }
    
	});
{'fraction_non_alphanumeric': 0.18268015170670038, 'fraction_numerical': 0.0041087231352718075, 'mean_word_length': 1.6552013422818792, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3401437', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1111, 'n_words': 197}