grunt-redirect
Grunt task to save command output to file.
Getting Started
Installation
$ npm install grunt-redirect
Requirements
grunt --version
>= 0.4
Options
options.stdout
Type: Boolean
Default value: true
Set options.stdout
to true
to save stdout.
options.stderr
Type: Boolean
Default value: false
Set options.stderr
to true
to save stderr.
options.overwrite
Type: Boolean
Default value: true
Set options.overwrite
to true
to overwrite output files.
Configuration Examples
redirect
is a multitask, so you can use it similary to dist
, build
or etc...
grunt;
Usage Example to update JSON files
For example, bump version when you build your app.
grunt;
License
MIT License (c) Hiroyuki Sano