npm install --save-dev grunt-pipeline-fingerprint
Produces a fingerprint file that can be included in both client and server code.
options = {
jsonDestination: [],
jsonTemplate: '%s',
jsDestination: [],
jsTemplate: 'window.version = %s;',
updateConfigs: ['fingerprint']
};