Skip to content
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

Closed
wants to merge 9 commits into from

Conversation

pjohnmeyer
Copy link
Contributor

Resolves #146

@coveralls
Copy link

coveralls commented Oct 12, 2018

Coverage Status

Coverage increased (+0.9%) to 98.826% when pulling a18a1b7 on pjohnmeyer:add-standard into b925b4f on npm:master.

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"
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@isaacs isaacs closed this in 347d4a0 Oct 12, 2018
@isaacs
Copy link
Contributor

isaacs commented Oct 12, 2018

Rebased and landed on master. Thanks!

@pjohnmeyer pjohnmeyer deleted the add-standard branch October 13, 2018 02:13
stabbylambda pushed a commit to stabbylambda/node-semver that referenced this pull request Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants