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 support for npx #55

Open
codewithtyler opened this issue Apr 25, 2019 · 1 comment
Open

Add support for npx #55

codewithtyler opened this issue Apr 25, 2019 · 1 comment

Comments

@codewithtyler
Copy link

It would be great if the task used npx for running newman so that newman doesn't have to be installed on the server running the collection.

@carlowahlstedt
Copy link
Owner

Adding your comment from gitter:
support for this should be fairly straightforward. Do a check to make sure npm version is at >= 5.2.0. If it's not then throw an error. If the server does have 5.2.0 installed then instead of checking for the path to newman just use npx newman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants