Pull out npm scripts into another file with p-s

InstructorElijah Manor

Share this video with your friends

Send Tweet

A technique you might use once you start having lots of npm scripts is to use a node package that allows you to define your scripts in an external package-scripts.js file. By pulling out your scripts it can help with organization, enable better comments, provide shortcuts, and more.