npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

grunt-debug-files

2.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:0
$ npm install grunt-debug-files
DailyWeeklyMonthlyYearly

grunt-debug-files Build Status

Debug files run through grunt

Useful for checking what files matched the glob or make sure all files exist.

Install

$ npm install --save-dev grunt-debug-files

Usage

Just replace the task name of the task you want to debug with debugFiles or add a new task with the same files object.

 require('load-grunt-tasks')(grunt);

 grunt.initConfig({
-	existingTask: {
+	debugFiles: {
 		dist: {
 			files: {
 				'dist/main.js': 'src/main.js'
 			}
 		}
 	}
 });

-grunt.registerTask('default', ['existingTask']);
+grunt.registerTask('default', ['debugFiles']);

License

MIT © Sindre Sorhus