-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'standard' to npm test and address issues #258
Conversation
package.json
Outdated
@@ -4,7 +4,7 @@ | |||
"description": "The semantic version parser used by npm.", | |||
"main": "semver.js", | |||
"scripts": { | |||
"test": "standard && tap test/*.js --cov -J" | |||
"test": "standard bin/semver *.js **/*.js && tap test/*.js --cov -J" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the standard command invocation to a posttest
script instead?
I prefer to run tests before linting, so that it's less annoying when building new features or fixing bugs, and the &&
is a sh-ism that doesn't work on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me, working on it now.
Rebased and landed on master. Thanks! |
Resolves #146