Closed mrzmyr closed 10 years ago
Sorry about that, for now try using the array format for licenses
:
"licenses": [
{
"type": "MIT",
"url": "https://github.com/assemble/fs-utils/blob/master/LICENSE-MIT"
}
],
I'm about to release a refactor of this and this mixin shouldn't cause this issue anymore.
Actually after reading this again I may have misunderstood. Do you want the actual full license string to print out? If so, that can be done no prob, but would you mind creating a feature request?
The licenses array works well for me, thanks. I guess it would be great to have the possibility to use the license
value in the package.json
as plain text.
Hi @mrzmyr, since you used grunt-readme in the past, just letting you know that we created a new and improved version of this: Verb, along with grunt and gulp tasks, a cli and a generator. It does what grunt-readme does, but super easy to use (requiring zero config) and waaaay more powerful for anyone who wants more than the defaults. If you like the idea of what grunt-readme does, or should do, please give Verb a look!
Trying to generate the license value from
package.json
by using{%= license %}
. Its a custom license and grunt-readme prints justReleased under the license
.How can i get the raw value with key the
license
frompackage.json
?