Skip to content

Instantly share code, notes, and snippets.

@curist
Created December 1, 2016 10:54
Show Gist options
  • Save curist/4e13a2c6c5bac868e07aa9cb9ca03dcf to your computer and use it in GitHub Desktop.
Save curist/4e13a2c6c5bac868e07aa9cb9ca03dcf to your computer and use it in GitHub Desktop.
/*global module:false*/
module.exports = function (grunt) {
// show elapsed time at the end
require('time-grunt')(grunt);
// load all grunt tasks
require('jit-grunt')(grunt, {});
grunt.initConfig({
bower: {
common: {
dest: "wwwroot/",
js_dest: "wwwroot/js",
css_dest: "wwwroot/css",
options: {
keepExpandedHierarchy: false
}
}
},
});
grunt.registerTask('default', [
'bower:common'
]);
};
{
"name": "grunt-bower-tests",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-clean": "~ 0.5.0",
"grunt-bower": "0.20.0",
"time-grunt": "~0.2.9",
"jit-grunt": "~0.2.1"
},
"dependencies": {
"grunt-cli": "^0.1.13"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment