MozillaFoundation / mofo-standards

Mozilla Foundation – Engineering Guidebook
6 stars 2 forks source link

Standardize on `shx` #6

Closed gvn closed 7 years ago

gvn commented 8 years ago

shx is essentially a CLI wrapper for ShellJS. It makes setting up x-platform compatible npm scripts very easy (mostly just prefix standard unix commands w. "shx").

EG:

shx mkdir foo will work anywhere Node runs, not just on UNIX systems.

Currently we use a whole plethora of single purpose Node modules (eg: rimraf, mkdirp), but this is a nice all-in-one solution. Less dependencies FTW!

gvn commented 8 years ago

CC: @Pomax

Pomax commented 8 years ago

updoot - removing explicit dependencies is great.

gvn commented 7 years ago

Sounds like everyone is on board