So, for correct phrasing, instead of "latest" I should use "@1.0.1" or "1.0.1"? (I get this number from npm ls.)
Thanks again for helping. On Friday, February 27, 2015 at 6:56:55 PM UTC-8, Aria Stewart wrote: > > > > On 27 Feb 2015, at 19:01, Steve Husting <[email protected] > <javascript:>> 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/e96e6baa-9eab-467a-a511-80209f322f01%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
