> On 27 Feb 2015, at 19:01, Steve Husting <[email protected]> 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

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/7553FA80-C268-4D27-A548-243F0DC9E62D%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to