<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    less: {
      dev: {
        files: {
          "gen/toastr.css": "src/toastr.less"
        }
      },
      prod: {
        options: {
          yuicompress: true
        },
        files: {
          "dist/toastr.min.css": "src/toastr.less"
        }
      }
    },

    uglify: {
      prod: {
        files: {
          "dist/toastr.min.js": "src/toastr.js"
        }
      }
    },

    copy: {
      main: {
        src: 'src/toastr.js',
        dest: 'gen/toastr.js'
      }
    },

    watch: {
      scripts: {
        files: 'src/**/*',
        tasks: ['default']
      }
    },

    clean: ['dist', 'gen']
  });

  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-watch');

  grunt.registerTask('default', ['less:dev', 'copy']);
  grunt.registerTask('prod', ['less:prod', 'uglify']);
};<commit_msg>Dist files will have angular on it<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    less: {
      dev: {
        files: {
          "gen/toastr.css": "src/toastr.less"
        }
      },
      prod: {
        options: {
          yuicompress: true
        },
        files: {
          "dist/angular-toastr.min.css": "src/toastr.less"
        }
      }
    },

    uglify: {
      prod: {
        files: {
          "dist/angular-toastr.min.js": "src/toastr.js"
        }
      }
    },

    copy: {
      main: {
        src: 'src/toastr.js',
        dest: 'gen/toastr.js'
      }
    },

    watch: {
      scripts: {
        files: 'src/**/*',
        tasks: ['default']
      }
    },

    clean: ['dist', 'gen']
  });

  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-copy');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-watch');

  grunt.registerTask('default', ['less:dev', 'copy']);
  grunt.registerTask('prod', ['less:prod', 'uglify']);
};
{'fraction_non_alphanumeric': 0.1828410689170183, 'fraction_numerical': 0.0, 'mean_word_length': 1.84913217623498, 'pattern_counts': {'":': 6, '<': 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': '4571284', 'n_tokens_mistral': 781, 'n_tokens_neox': 782, 'n_words': 98}