Revision your files with your package.json revision


A grunt task that adds your package.json revision at the end of your file name.

** This task renames files, so suggested use is in a temp or dist directory... not in the dev directory! **

This task can be combined nicely with grunt-bump.

Example usage in grunt init:

    revPackage: {
        temp: 'temp/scripts/**.*/js'

If your package.json.verions is = 0.1.0 then the following file


would be changed to: