1 /*global config:true, task:true*/
3 pkg: '<json:package.json>',
5 name: 'JavaScript Hooker',
6 banner: '/*! <%= meta.name %> - v<%= pkg.version %> - <%= template.today("m/d/yyyy") %>\n' +
7 '* <%= pkg.homepage %>\n' +
8 '* Copyright (c) <%= template.today("yyyy") %> <%= pkg.author.name %>;' +
9 ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
12 'dist/ba-hooker.js': ['<banner>', '<file_strip_banner:lib/hooker.js>']
15 'dist/ba-hooker.min.js': ['<banner>', 'dist/ba-hooker.js']
18 files: ['test/**/*.js']
21 files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
24 files: '<config:lint.files>',
25 tasks: 'lint:files test:files'
47 task.registerTask('default', 'lint:files test:files concat min');