20 lines
617 B
JavaScript
20 lines
617 B
JavaScript
module.exports = function (grunt) {
|
|
grunt.initConfig({
|
|
bower: {
|
|
install: {
|
|
options: {
|
|
targetDir: "wwwroot/lib",
|
|
layout: "byComponent",
|
|
cleanTargetDir: false
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
// This command registers the default task which will install bower packages into wwwroot/lib
|
|
grunt.registerTask("default", ["bower:install"]);
|
|
|
|
// The following line loads the grunt plugins.
|
|
// This line needs to be at the end of this this file.
|
|
grunt.loadNpmTasks("grunt-bower-task");
|
|
}; |