A Gruntfile helper that breaks monolithic Gruntfiles into manageable modules. Current stable version is 7.0.1, with maintenance-level updates as needed. It organizes configs, custom tasks, and workflow aliases into separate files under 'grunt-deps/' and automatically loads them. Unlike alternatives like load-grunt-configs, it uses plain JavaScript (not YAML) for aliases and passes grunt/pkg objects to config functions. Primarily useful for legacy Grunt projects; the author recommends npm scripts for new projects.
npm install build-workflowVerified import paths — ran on the pinned version, not inferred.
Shows minimal setup: folder structure, Gruntfile, alias, custom task, and execution with grunt.
For new projects, use npm scripts (scripts in package.json) or a modern build tool like webpack/vite.
Ensure every file in grunt-deps/configs exports a function: module.exports = function(grunt) { return { ... }; };Create the file with module.exports = function(grunt) { grunt.registerTask('default', [...]); };Name your files exactly as the task (e.g., hello.js for task 'hello').
Ensure the task file exists in grunt-deps/tasks or that the task is registered via grunt.registerTask.
Change module.exports = {...} to module.exports = function(grunt) { grunt.registerTask(...); };Run: npm install --save-dev grunt
Create a Gruntfile.js in the project root (see quickstart).
No dependency data recorded yet.