grunt-rev-package
v0.0.6
Published
Revision your files with your package.json revision
Downloads
125
Readme
grunt-rev-package
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
/temp/scripts/file.js
would be changed to:
/temp/scripts/file.0.1.0.js