title: How to pass in package.json array to grunt.js
body: <p>is there a way to pass in an array to grunt.js from the package.json file? I've tried a few different ways and none of them seem to work. I currently have:</p>
  
  <pre><code>/*global module:false*/
  module.exports = function(grunt) {
  
       // Project configuration.
       grunt.initConfig({
      pkg: '&lt;json:package.json&gt;',
  
      lint: {
        files: '&lt;%= pkg.lint.join(", ") %&gt;'
      }
  
      // Default task 'lint qunit concat min'
      grunt.registerTask('default', 'lint');
  };
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>{
    "lint": [   
                "grunt.js",
                "test.js"
            ]
  }
  </code></pre>
  
  <p>The only solution that I have been able to find is to pass in a specific index of the array; e.g. &lt;%= pkg.lint[0] %>. 
  Thanks in advance for your help!</p>