> On 27 Feb 2015, at 19:01, Steve Husting <
steveh...@gmail.com> wrote:
>
> Thank you for replying.
>
> I ran locally: npm install html5-lint
>
> Contents of package.json are (this validates):
>
> {
> "name": "npmTest",
> "devDependencies": {
> "jshint": "latest",
> "optimg": "latest",
> "jpgo": "latest",
> "css-validator": "latest",
> "css-prettifier": "latest",
> "ycssmin": "latest",
> "html5-lint": "latest"
Goodness. These should probably be "^thelatestmajor" not "latest" (where thelatestmajor is the major version number of each dependency) -- this will break in the future when someone publishes new, incompatible versions.
But the problem is html5-lint -- it doesn't export a bin, an actual tool to use -- and it looks like that script doesn't exist at all. It's not a command line tool you can use, but a library you can require. See its README:
https://github.com/mozilla/html5-lint
Aria