You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
post* and pre* scripts have specific meaning for package.json - posttest in this case will run after test automatically. Because of this, it felt more intuitive to sort these not by alphabetical order, but to specifically order pre* scripts before * and post* scripts after *.
I'll close this because I think we're doing the right thing here. If you want to discuss it more we can, and I can always re-open the issue.
For future reference, this behavior has changed slightly in #49: now, the "pre" and "post" prefixes will only be treated specially if they're not followed by a - character (e.g. pre-foo won't be sorted at the start, while prefoo will).
In my "scripts" I am seeing this order:
Why isn't this alphabetical?
The text was updated successfully, but these errors were encountered: