# grunt-debug-files

> Debug files run through grunt

Latest version **2.0.0** (published 2017-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install grunt-debug-files
pnpm add grunt-debug-files
yarn add grunt-debug-files
bun add grunt-debug-files
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-11-06 |
| First published | 2015-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | gruntplugin, debug, debugging, files, file, log, print |

## Links

- npm: https://www.npmjs.com/package/grunt-debug-files
- Repository: https://github.com/sindresorhus/grunt-debug-files
- Homepage: https://github.com/sindresorhus/grunt-debug-files#readme
- Issues: https://github.com/sindresorhus/grunt-debug-files/issues
- npm.io page: https://npm.io/package/grunt-debug-files

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-11-06
- 1.1.0 — 2016-04-06
- 1.0.1 — 2015-02-24
- 1.0.0 — 2015-01-19

## README

# grunt-debug-files [![Build Status](https://travis-ci.org/sindresorhus/grunt-debug-files.svg?branch=master)](https://travis-ci.org/sindresorhus/grunt-debug-files)

> Debug files run through grunt

<img src="screenshot.png" width="568">

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.

```diff
 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](https://sindresorhus.com)

---
_Source: https://npm.io/package/grunt-debug-files · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
