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

Use npx in package's npm scripts #853

Closed
lucaperret opened this issue Mar 27, 2018 · 2 comments
Closed

Use npx in package's npm scripts #853

lucaperret opened this issue Mar 27, 2018 · 2 comments

Comments

@lucaperret
Copy link
Contributor

A lot of binaries are call with their full path in the package.json (example).

In case you have the same dependency in the package itself and in the strapi-helper-plugin: it may be relevant if the package version of the called binary is different.
It's not the case in most of places, is there another reason of calling the binaries with their full path ?

It can be less verbose by using the new npm package runner called npx...
npm's blog post about npx.

@mnlbox
Copy link
Contributor

mnlbox commented Mar 27, 2018

Maybe Related: #742

@lucaperret
Copy link
Contributor Author

ok, so mine is duplicated.

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