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.
6
questions
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:
...
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, ...
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:
...
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()' ...
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 ...
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.
...