javascript - Cannot use GLOB with JSHint in Windows? -
i'm doing poc of npm build tool (http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/). i'm new using npm. now, have jshint , mocha installed. packagae.json attached. now, when run "npm run lint" in command line (windows 7), gives me 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 change script "lint": "jshint test/test.js".
can use glob jshint?
please advise , thank in advanced.
you shouldn't need glob, give directory , scan js files in there.
Comments
Post a Comment