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

FULL DISCUSSION
 

This is a cool trick :)

Makes me wish Node/NPM had used a file format that supports comments, though - Rust uses TOML, and it's hard to go back to JSON for config files after using that :(

 

Yes! Although it isn't really a solution, it does the trick if we want a neater npm run output.

I am happy you find this trick useful.

code of conduct - report abuse