I often use pre and post scripts such as prebuild, build and postbuild. Sometimes I split them into multiple scripts such as prebuild:foo and prebuild:bar with prebuild running something like npm-run-allrun-s.
The prebuild and postbuild is neatly sorted as expected:
I often use
pre
andpost
scripts such asprebuild
,build
andpostbuild
. Sometimes I split them into multiple scripts such asprebuild:foo
andprebuild:bar
withprebuild
running something like npm-run-allrun-s
.The
prebuild
andpostbuild
is neatly sorted as expected:However when using
:
the sorting isn't as neat any longer, a longer example of this is:The expected order would be:
If you think this is reasonable I could try to create a PR to implement this change.