Closed ain closed 10 years ago
According to package.json-validator the generated manifest file has incorrect licence and repository fields:
"repository": "https://github.com/yeoman/generator-gruntplugin"
"repository": { "type": "git", "url": "https://github.com/yeoman/generator-gruntplugin.git" },
That validator is wrong. Both are allowed.
We adhere to https://github.com/npm/read-package-json
NPM docs document repository field as an object, but license as a string. Looks like a bit too much of a confusion there.
According to package.json-validator the generated manifest file has incorrect licence and repository fields:
"repository": "https://github.com/yeoman/generator-gruntplugin"
) instead of an object: