-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Support for running bin scripts using node --run
#53845
Comments
It seems like you're proposing a |
@KunalKumar-1 Yes. Node already has |
Since we've added |
That's one option. The other option is to extend checking both scripts and bin fields in package.json with |
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the
never-stale
|
What is the problem this feature will solve?
This feature will help run the
bin
scripts in package.json, similar to runningscripts
. During local development, it's very common to run the bin scripts, and it would be great if the node task runner supported it.What is the feature you are proposing to solve the problem?
Add
node --run --bin
ornode --run-bin
. This will run the bin script similar to whatnode --run
does, except it looks for abin
field.I know node task runner is not a replacement for something like
yarn
, but, another option is to support both the fields (scripts
andbin
) withnode --run,
similar to whatyarn
does.What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: