Make npm scripts cross-environment friendly

Elijah Manor
InstructorElijah Manor

Share this video with your friends

Send Tweet

Unfortunately not all shell commands work across various environments. Two main techniques to support cross-environment scripts is to either use cross-platform commands or to use normalized node packages. In this lesson, we will look at updating an existing set of npm scripts and make sure they work on Mac OS X, Linux, and Windows.