grunt
grunt copied to clipboard
Grunt: The JavaScript Task Runner
``` grunt.initConfig({ some: { a: { options: { x: "\n" } } } }); grunt.registerTask('s', [ 'some:a', ]); grunt.registerMultiTask('some', function() { console.log(this.options()); // { x: '\r\n' } }); ``` An...
Hi, sorry, the title may be a bit confusing, so please feel free to change it, but what I noticed is that next command `grunt buildTask --property1=123 --version=1.0-SNAPSHOT` instead of...
When I register a multi task that isn't file based grunt crashes with --verbose. --force doesn't help. Using the example multitask from the doc: ``` grunt --verbose --stack --force log:baz...
hi, i just noticed that my bash completion didn't work any more. i finally narrowed it down an found out that as soon as i removed the ***grunt.option.init*** call from...
Is it possible to use gruntjs in relation to unit testing in Visual Studio? Thank you!
I create a grunt plugin , when I press ctrl+c, the grunt exit , but I want to do something in the grunt plugin before the process exit. I tried...
https://gruntjs.com/configuring-tasks#globbing-patterns currently does not explain what Grunt does when it encounters a glob pattern like: ``` { "test/lib/**/*.js", "!test/lib/autogenerated.js", } ``` It would be very useful to know whether ordering...
I have a frontend project with Grunt build . I am using a library named nspopover from https://github.com/nohros/nsPopover. By default this library is coming with unminified version of the file....
Since Grunt can also be used via its API, I would suggest avoiding `process.chdir`. One problem is if Grunt is used inside an [Express](http://expressjs.com) app as views expects `process.cwd` to...