/*
 * grunt-update-json
 * https://github.com/andreaspizsa/grunt-update-json
 *
 * Copyright (c) 2013 
 * Licensed under the MIT license.
 */
'use strict';

module.exports = {
  bower: {
    files: [{
      src: ['package.json'],
      dest: 'bower.json'
    }],
    fields: [
      'name', 'version', 'description', 'keywords', 'homepage', 'dependencies',
      {license: '/licenses/0/type'}
    ]
  },
  component: {
    files: [{
      src: ['package.json'],
      dest: 'component.json'
    }],
    fields:[
      'name', 'version', 'description', 'keywords', 'repository > repo',
      {license: '/licenses/0/type'}
    ]
  }
};

@@ -98,10 +98,9 @@
 2013
- 
 %0A
+
  * L
@@ -352,44 +352,18 @@
 es',
-%0A      %7Blicense:
  '
-/
 license
-s/0/type'%7D
+'
 %0A   
@@ -554,44 +554,18 @@
 po',
-%0A      %7Blicense:
  '
-/
 license
-s/0/type'%7D
+'
 %0A   

fix license field in test