diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-05-04 15:03:47 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-05-04 15:03:47 +0200 |
commit | 756629b91d684d24ed71ff8d1323ee1c8230a47b (patch) | |
tree | d53b5870d05548525f6890e367405ae297588ae9 /Gruntfile.js | |
parent | e640d124d4c8fe1a5ff44e3e74d70d4d1a975e47 (diff) | |
download | gitbook-756629b91d684d24ed71ff8d1323ee1c8230a47b.zip gitbook-756629b91d684d24ed71ff8d1323ee1c8230a47b.tar.gz gitbook-756629b91d684d24ed71ff8d1323ee1c8230a47b.tar.bz2 |
Add bower dependencies
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 10 |
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', |