loading...

Friday Quick Tips — Use package.json As a Shortcut Holder

rohovdmytro profile image Rohov Dmytro ・1 min read

Really quick tip for today.

I've been programming using Node.js for quite a while now. Six, seven years? Damn. And only in recent projects I've started to «save» common scripts as a yarn «shortcuts». Damn++!

Alt Text

It's extremely simple. Simple as that:

Alt Text

Every morning it makes me a couple of presses away from a Carpal tunnel syndrome! Nice!

That's it. That simple tip.

Yours, truly, RG, on his way from consumer to creator.

Save the clicks for something more meaningful!

Discussion

markdown guide
 

I migrated to robo, because YAML is superior the JSON, especially for multiline strings.