1 module.exports = function(grunt) {
4 pkg: grunt.file.readJSON('package.json'),
6 files: ['Gruntfile.js', 'public/js/app/**/*.js', '!public/js/app/**/*min.js'],
19 './src/javascripts/jquery.tocify.min.js': ['./src/javascripts/jquery.tocify.js']
23 banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
24 '<%= grunt.template.today("yyyy-mm-dd") %> \n' +
25 '<%= pkg.homepage ? "* " + pkg.homepage : "" %>\n' +
26 '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
27 ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>*/\n'
32 grunt.loadNpmTasks('grunt-contrib-uglify');
33 grunt.loadNpmTasks('grunt-contrib-jshint');
34 grunt.registerTask('test', ['jshint']);
35 grunt.registerTask('build', ['uglify']);
36 grunt.registerTask('default', ['test', 'build']);