UNPKG

bootbox

Version:

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using the Bootstrap framework

34 lines (29 loc) 618 B
module.exports = function(grunt) { grunt.initConfig({ uglify: { options: { banner: grunt.file.read("header.txt") }, build: { files: { "bootbox.min.js": ["bootbox.js"] } } }, jshint: { options: { jshintrc: ".jshintrc" }, all: ["bootbox.js"] }, karma: { unit: { configFile: "karma.conf.js" } } }); grunt.loadNpmTasks("grunt-contrib-uglify"); grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.loadNpmTasks("grunt-karma"); grunt.registerTask("default", ["jshint", "karma"]); };