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.
npm run
I am happy you find this trick useful.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 runoutput.I am happy you find this trick useful.