Over the last few years I have begun adopting a pattern of using package.json commands and gulp tasks to automate many aspects of each of my projects. Whenever I've found myself using the same task in multiple projects I've added the helper method to this NPM package for re-use. I intend to re-write this in typescript with unit tests "fairly soon" (™). You can check out an example of this being used in my dotnet-react-sandbox project (check out the root package.json and gulpfile.js files).
I've also been adding commands related to my db-migrations-dotnet package. Normally I would admit it's a bad idea to put unrelated things into the same package, but in this case my justification is that this package is not bundled or deployed with the project that uses it - it's only for development and doesn't contribute to release package bloat.
Check it out here: node-cli-utils.