Questions tagged [grunt.js]

Grunt is a JavaScript task runner which helps to lessen work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc.

Filter by
Sorted by
Tagged with
1 vote
1 answer
58 views

Checking for files that are mentioned as children of other files

I am working in JavaScript on a GruntFile script, and I am creating an object that holds a file class for each one of the following class structure: ...
StephenRios's user avatar
2 votes
1 answer
2k views

Setting Sass environment variables in Grunt

I am into building functional prototypes, but also for outputting CSS and JS, which means we have 2 times we build out our code, once as a demo with HTML files (we are using assemble.io) and another, ...
Damon's user avatar
  • 129
1 vote
1 answer
673 views

Passing a value from my Gruntfile to an external Grunt task

In my Gruntfile, I use the grunt-contrib-watch task to watch a directory for file changes: ...
Šime Vidas's user avatar
2 votes
1 answer
417 views

nodejs grunt plugin using async module

I'm looking for some code review of my usage of async. Mainly why this does not work without the done = this.async() method and why I don't have to invoke 'done()' ...
Steve's user avatar
  • 185
3 votes
0 answers
78 views

Scraping paths from a Gruntfile

As a part of my Tabv Vim plugin (which at this stage is nothing more than a pitiful rag-tag assortment of half-baked hacks), I have a function which attempts to guess the directory paths for main ...
Kazark's user avatar
  • 273
3 votes
1 answer
1k views

Validate that a relative path exists or is an external URI

I sent a PR to a repo the other day and want to make sure I have the right idea for URI validation. ...
megawac's user avatar
  • 2,255