We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pre
post
Command npm run <script> runs pre script, then script and then post script, but nrun don't.
npm run <script>
nrun
Example
Scripts
{ "pretest": "echo pretest", "test": "echo test", "posttest": "echo posttest" }
nrun test will print only test npm run test will print pretest, test, posttest
nrun test
test
npm run test
pretest
posttest
The text was updated successfully, but these errors were encountered:
That's absolutely true. I don't know what to say, except "pr's are welcome" =)
Sorry, something went wrong.
posts
#5 merged, now it's supported
No branches or pull requests
Command
npm run <script>
runspre
script, then script and thenpost
script, butnrun
don't.Example
Scripts
nrun test
will print onlytest
npm run test
will printpretest
,test
,posttest
The text was updated successfully, but these errors were encountered: