Elijah begins by exploring existing npm scripts, creating custom scripts, having scripts run in series and in parallel, using various npm script lifecycle hooks, passing arguments from one script to another, piping data from one process to another, and using environment or config variables within our scripts.
Elijah then looks at several node packages that enable you to use shorthand and wildcard syntax, run scripts when either the file system changes or certain Git hooks are triggered, and provide ways to easily find and execute the scripts we want.
Elijah ends by examining several techniques to split out npm scripts to external files once they get large or complicated and addressing considerations when trying to run npm scripts across different environments (i.e., Mac, Linux, and Windows).
©2017, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com