The pipe (|) operator will stream the output of one command as input to another command.
The redirect (>) operator redirects the output to a file.
< Enter the contents of a file into a command
In Unix, you can also run two commands simultaneously with the "&" operator. NPM Run Script1.js & NPM run Script2.js
Npm-run-all A CLI tool to run multiple npm-scripts in parallel or sequential.
Run-s is for sequential, run-p are for parallel. We can make simple plans with those commands.
cross-envRun commands that set environment variables across platforms (HTTPS://WWW.NPMJS.COM/PACKAGE/CROSS-ENV)
Shelljs is a NPM package that runs UNIX commands through node. This makes it possible to run UNIX commands on all platforms, including Windows. (HTTPS://WWW.NPMJS.COM/PACKAGE/SHELLJS)
Reference article Http://www.infoq.com/cn/news/2016/02/gulp-grunt-npm-scripts-part2
Related Knowledge http://www.tutorialspoint.com/unix/unix-useful-commands.htm
Https://www.pluralsight.com/courses/npm-build-tool-introduction
NPM Scripts Build