Closed Robbert closed 8 years ago
package-json-validator appears to do the trick. (Live demo)
package-json-validator
Our package.json already appears to be buggy:
package.json
{ "valid": true, "warnings": [ "Missing recommended field: contributors" ], "recommendations": [ "Missing optional field: homepage", "Missing optional field: dependencies", "Missing optional field: engines" ] }
devDependencies
npm run lint
package-json-validator
appears to do the trick. (Live demo)Our
package.json
already appears to be buggy:devDependencies
and make it part ofnpm run lint