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

Run pre and post commands #4

Closed
MikeDevice opened this issue May 28, 2017 · 2 comments
Closed

Run pre and post commands #4

MikeDevice opened this issue May 28, 2017 · 2 comments

Comments

@MikeDevice
Copy link
Contributor

MikeDevice commented May 28, 2017

Command npm run <script> runs pre script, then script and then post script, but nrun don't.

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

@okv
Copy link
Contributor

okv commented May 31, 2017

That's absolutely true.
I don't know what to say, except "pr's are welcome" =)

@okv
Copy link
Contributor

okv commented Jun 23, 2017

#5 merged, now it's supported

@okv okv closed this as completed Jun 23, 2017
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