{"_id":"grunt-generate-license-data","_rev":"77-b6b838fbc49e1a5dbd049269d5021378","name":"grunt-generate-license-data","description":"A grunt task that generates a list of all the project dependencies (including transitive ones)","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"grunt-generate-license-data","version":"0.0.1","description":"A grunt task that generates a list of all the project dependencies (including transitive ones)","keywords":["license","OSS","gruntplugin"],"author":{"name":"Microsoft"},"license":"MIT","homepage":"https://github.com/Microsoft/grunt-generate-license-data","dependencies":{"underscore":"1.8.3"},"devDependencies":{"grunt":"1.0.1"},"gitHead":"c6315dc4b3f21a2713ff7f93ca2179a991da5d9c","_id":"grunt-generate-license-data@0.0.1","scripts":{},"_shasum":"4285d736baac5a1584f415ba099a60c912c9617b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"slawomir","email":"slawomir@gmail.com"},"dist":{"shasum":"4285d736baac5a1584f415ba099a60c912c9617b","tarball":"https://registry.npmjs.org/grunt-generate-license-data/-/grunt-generate-license-data-0.0.1.tgz","integrity":"sha512-UvbIHGDltZ3dGM2pvnMxQ2R1RSmT6fseJLOCz0S8hGMnWw8pSAjNU/eR3C1x//s0cd4z0yrJmmd/lUSGvymhnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNVL7P9WinjqoM49NHzxSV3iuDD3kwT3j3lsNGhzHxsAiEA3dP9bYCETCYa/z4AdeZeuGZ6Y/1qNnbNm7VGb0o+uGQ="}]},"maintainers":[{"name":"slawomir","email":"slawomir@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-generate-license-data-0.0.1.tgz_1495459519231_0.6594236304517835"},"directories":{}},"0.0.2":{"name":"grunt-generate-license-data","version":"0.0.2","description":"A grunt task that generates a list of all the project dependencies (including transitive ones)","keywords":["license","OSS","gruntplugin"],"author":{"name":"Microsoft"},"license":"MIT","homepage":"https://github.com/Microsoft/grunt-generate-license-data","dependencies":{"underscore":"1.8.3"},"devDependencies":{"grunt":"1.0.1"},"gitHead":"cf38d4c4a37aee28e32912902a2abc8b872df1ac","_id":"grunt-generate-license-data@0.0.2","scripts":{},"_shasum":"03f608f9407ae2cf0c01fd667791ba026012a7c5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"dist":{"shasum":"03f608f9407ae2cf0c01fd667791ba026012a7c5","tarball":"https://registry.npmjs.org/grunt-generate-license-data/-/grunt-generate-license-data-0.0.2.tgz","integrity":"sha512-UvvV9wwqPO0RO57+sKcA2JJZFsOeUiIQQB5Lf7rasXmLGfM0hjypv7t+GoRsOmlisKMrecDYYmiKVt6/pwU4Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsE+YNM53xsQQXJ1c7znYdsrNvP8ppCrh4eOKba5Ia9AiBr8E/nyAUmVq8XjEijcaXnkk8myx4YOxIOR0q7V/HgHw=="}]},"maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"slawomir","email":"slawomir@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-generate-license-data-0.0.2.tgz_1495459936471_0.012732992647215724"},"directories":{}}},"readme":"# grunt-generate-license-data\n\nA grunt plugin to list npm packages' dependencies.\n\nExample output:\n```\nbackbone;production;0.0.1;MIT;https://github.com/jashkenas/backbone;;top-level\njquery;production;3.0.0;MIT;https://github.com/jquery/jquery;;transitive\nmocha;build-only;0.0.2;MIT;https://github.com/mochajs/mocha;;top-level\nunderscore;build-only;1.0.0;MIT;https://github.com/jashkenas/underscore;;transitive\n```\n\n## Getting Started\n\nThis plugin requires [Grunt](http://gruntjs.com/)\n\n```\nnpm install grunt-generate-license-data --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside Gruntfile:\n\n```\ngrunt.loadNpmTasks(\"grunt-generate-license-data\");\n```\n\n## The \"generate-license-data\" task\n\n### Overview\n\nIn `Gruntfile.js`, add a section named `generate-license-data`:\n\n```js\ngrunt.initConfig({\n    'generate-license-data': {\n        all: {\n            options: {\n                // options go here\n            }\n        }\n    }\n});\n```\n\n### Options\n\n* `options.outFile: string` - name of output file. Defaults to `licenses.csv`.\n* `options.roots: string[]` - array of folders with root npm packages. Defaults to ['.'].\n* `options.metadata: { [packageName: string]: { homepage: string, license: string } }` - explicitly provide license or homepage.\n\n### Usage Example\n\n```js\ngrunt.initConfig({\n    'generate-license-data': {\n        all: {\n            options: {\n                outFile: 'export.csv',\n                roots: [ 'module1', 'module2' ],\n                metadata: {\n                    backbone: {\n                        license: 'MIT'\n                    }\n                }\n            }\n        }\n    }\n});\n```\n\n### Running\nMake sure npm packages are up-to-date `npm install` and `npm prune`. Then:\n```\ngrunt generate-license-data\n```\n\n# Contributing\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","maintainers":[{"email":"slawomir@gmail.com","name":"slawomir"}],"time":{"modified":"2022-06-18T15:03:39.670Z","created":"2017-05-22T13:25:20.145Z","0.0.1":"2017-05-22T13:25:20.145Z","0.0.2":"2017-05-22T13:32:16.569Z"},"homepage":"https://github.com/Microsoft/grunt-generate-license-data","keywords":["license","OSS","gruntplugin"],"author":{"name":"Microsoft"},"license":"MIT","readmeFilename":"README.md"}