-
Notifications
You must be signed in to change notification settings - Fork 29
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
Pre and post scripts order #41
Comments
I think this is kinda a dupe of #33 |
not quite, my idea is to order script by alphabetical order but move pre and post script before and after the scripts they refer to, e.g.:
Here, the order is alphabetical (build, eject, fix-types, start, test) and the relative script are before and after them, it's not an user choice. Fabio. |
Should that be configurable? |
Strongly agree with this. Having a dozen pre/post scripts moved away from the script they decorate is confusing and makes it hard to see cross-script dependencies. And because the name is forced on us by npm, we don't have any opportunity to control the order through naming. @pke I don't think this kind of thing should be configurable. The majority of the value in tools like this is consistency. If each package needed to configure their own preferences then the consistency is lost. Should have reasonable defaults so no config is required. |
Hi,
what about move the pre- and post- scripts before and after the scripts they refer to respectively?
Fabio.
The text was updated successfully, but these errors were encountered: