I'm doing a PoC of NPM as a build tool (http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/). I'm fairly new using NPM. For now, I only have JSHint and Mocha installed. My packagae.json is attached. Now, when I run "npm run lint" in the command line (Windows 7), it gives me an error:
c:\project>npm run list
MyNPMProject@1.0.0 lint c:\project
jshint test/*.js
ERROR: Can't open test/*.js
It works when I change the script "lint": "jshint test/test.js".
Can I use glob with jshint?
Please advise and thank you in advanced.