I though I read somewhere that the "main" property of package.json could be used to copy just the files needed for "dist" or deployment. I supposed there was a grunt task for it, but I don't see anything that would help me or instruct me. I now copy everything under node_modules, but I certainly don't need to distribute library sample code, for example.
Is there a grunt task or any instructions on how to properly use grunt-contrib-copy to just copy the files from a node_module dependency hopefully from the config object's standard pkg object (a parsed package.json file)?