wesaynih / infrastructure

© 2016 The Knights Who Say NIH — Do NOT fork this repository without permission.
http://frameless.io/
Other
0 stars 1 forks source link

Syntax validation for package.json #22

Closed Robbert closed 8 years ago

Robbert commented 8 years ago

package-json-validator appears to do the trick. (Live demo)

Our package.json already appears to be buggy:

{
  "valid": true,
  "warnings": [
    "Missing recommended field: contributors"
  ],
  "recommendations": [
    "Missing optional field: homepage",
    "Missing optional field: dependencies",
    "Missing optional field: engines"
  ]
}