Skip to content

Instantly share code, notes, and snippets.

@yatskevich
Last active December 22, 2015 01:59
Show Gist options
  • Save yatskevich/6400079 to your computer and use it in GitHub Desktop.
Save yatskevich/6400079 to your computer and use it in GitHub Desktop.
grunt-bower-task issue #66
{
"name": "issue66",
"version": "0.0.0",
"authors": [
"Ivan Yatskevich <[email protected]>"
],
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "~2.0.3"
}
}
module.exports = function(grunt) {
grunt.initConfig({
dosmth: {
before: 'logging',
after: 'exiting'
},
bower: {
install: { }
}
});
grunt.registerMultiTask('dosmth', 'doing something', function() {
grunt.log.writeln('doing ' + this.target + ': ' + this.data);
});
grunt.registerTask('default', ['dosmth:before', 'bower:install', 'dosmth:after']);
grunt.loadNpmTasks('grunt-bower-task');
}
{
"name": "issue66",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-bower-task": "latest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment