Awesome npm Scripts 
Everything awesome for using npm as a build tool.
You might also like awesome-npm.
Notice: I'm currently too busy to actively expand this list; therefore, I've decided to make this an OPEN Open Source Project. Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit.
Contents
- Articles
- Videos/Talks
- Task Runners
- File Watchers
- Dev Servers
- Cross-platform Utilities
- Utility Packs
- Other Utilities
- Miscellaneous
- Cross-platform Shell Reference
npm runReference
Articles
- Why we should stop using Grunt & Gulp - Blog post by Keith Cirkel.
- How to Use npm as a Build Tool - Sequel to »Why we should stop using Grunt & Gulp«.
- Why I Left Gulp and Grunt for npm Scripts - Article by Cory House.
- Helpers and tips for npm run scripts - Blog post by Michael Kühnel covering advanced topics.
- Running cross-platform tasks via npm package scripts - The most comprehensive guide to using npm Scripts by Dr. Axel Rauschmayer.
Videos/Talks
- Advanced front-end automation with npm scripts - Talk at Nordic.js 2015 by Kate Hudson.
- How to create a build system with npm scripts - Video tutorial series on setting up a front-end build system.
Task Runners
Tools for running multiple commands or npm scripts in parallel or sequentially.
- script-runner - Simple task runner with a terse syntax.
- npm-run-all - Fully featured task runner.
- redrun - Expand scripts from package.json to improve execution speed.
File Watchers
Tools to watch your source files and run a build command whenever any of the files change.
Dev Servers
- http-server - Simple zero-configuration command-line http server.
- live-server - Simple development http server with live reload capability.
Cross-platform Utilities
Utilities to perform common command-line tasks without worrying about cross-platform compatibility.
- rimraf - Delete files or directories; like
rm -rf. - del-cli - Safer file and folder deletion.
- mkdirp - Create a directory, creating parent directories if needed; like
mkdir -p. - cpr -
cp -rfor Node.js. - cpy-cli - File/directory copying/renaming.
- copyfiles - Copy a list of files into a directory.
- sync-files -
rsync-like directory syncing with watch mode. - echo-cli - Cross-platform
echowith JS escape sequence support. - clear-cli - Clear the terminal.
- cross-env - Set environment variables for scripts, unix-style.
- cross-os - Run platform-specific npm scripts.
- ntee - Utility that reads from standard input and writes to standard output and files; like Unix
tee. - catw - Print a file to stdout, with optional watch mode; sorta like Unix
cat.
Utility Packs
- shx - Collection of common Unix utilities implemented in Node.js; example usage:
shx rm somefile.
Other Utilities
- hashmark - Take contents of a file and output as new file with a hash in the name.
