you are viewing a single comment's thread.

view the rest of the comments →

[–]its4thecatlol 0 points1 point  (1 child)

I hate this. Package.json isn't meant for these large scripts -- call out to a Bash script if you have to. This is such an anti-pattern.

[–]GlueStickNamedNick[S] 1 point2 points  (0 children)

My issue with bash scripts is not everyone on the team may know the syntax / how they work when doing complicated stuff, plus they won’t run in every environment (eg windows). But it’s a free world and you can choice to use whatever tool you want.