summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 536e3e6..cf33e17 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -4,10 +4,18 @@ module.exports = function (grunt) {
// Load NPM tasks
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-requirejs');
+ grunt.loadNpmTasks("grunt-bower-install-simple");
// Init GRUNT configuraton
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
+ 'bower-install-simple': {
+ options: {
+ color: true,
+ production: false,
+ directory: "theme/javascript/vendors"
+ }
+ },
less: {
development: {
options: {
@@ -56,6 +64,8 @@ module.exports = function (grunt) {
}
});
+ grunt.registerTask("bower-install", [ "bower-install-simple" ]);
+
// Build
grunt.registerTask('build', [
'less',