re: How to organise NPM scripts in package.json? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I see the reasoning behind your approach, but – at least for a production-ready project – it feels a bit hack-y to me! An alternative organization...
 

I definitely agree with you. A build/ directory is definitely better for production projects.

But, I think this is a hack that wouldn't really hurt to add. It is not at all contradictory to having build/. And the good thing about it is the pretty npm run that will give a nicer guidelines to, maybe new developers who wants to find out the building instructions available.

 

[these two approaches are] not at all contradictory... and the good thing about it is the pretty npm run

true enough. especially re: those “new developers who want to find... instructions”, a file system abstraction is probably suboptimal!

code of conduct - report abuse