Last active
December 22, 2015 01:59
-
-
Save yatskevich/6400079 to your computer and use it in GitHub Desktop.
grunt-bower-task issue #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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