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

Remove this cli in favor of npx #33

Open
nicojs opened this issue Sep 16, 2018 · 4 comments
Open

Remove this cli in favor of npx #33

nicojs opened this issue Sep 16, 2018 · 4 comments

Comments

@nicojs
Copy link
Member

nicojs commented Sep 16, 2018

We should investigate if it is possible to remove the Stryker-cli in favor of npx. That way of working is probably much easier to maintain. See how create-react-app does it:
https://github.com/facebook/create-react-app#quick-overview

@stryker-mutator/contributors What do you think about this?

@simondel
Copy link
Member

Sounds awesome

@simondel
Copy link
Member

simondel commented Mar 8, 2019

Right now, npx stryker doesn't work:
image

@nicojs
Copy link
Member Author

nicojs commented Mar 8, 2019

Wow! OK, we'll have to investigate how to map npx stryker to either the stryker-cli or @stryker-mutator/core. Should be possible (I hope).

@nicojs
Copy link
Member Author

nicojs commented Mar 8, 2019

Note: it does work after installing @stryker-mutator/core locally (npm i -D @stryker-mutator/core). This is because npx will first look in node_modules/.bin for stryker, which it will find because @stryker-mutator/core puts it there.

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

No branches or pull requests

2 participants