Introduction to npm as a Build Tool
![Pluralsight](https://static.mytechlogy.com/cache/198e0a947da0127606f2749b57b54665_w30_h30_cp_sc.png)
Pluralsight
Course Summary
The Node Package Manager (npm) and the package.json file in combination makes a great option for build automation. Using npm and package.json is simpler and has no extra dependencies such as Gulp and Grunt for example. It's easy to get started by moving your existing commands into the package.json and you can utilize the entire Node package library in your script.
-
+
Course Description
Why should I even care about this when there's an abundance of great tools already? npm is baked into your process already. No build tools are needed and any command you run at the command prompt today can be moved into your package.json with one line of code. The Node package library, that you most likely are using anyway, is vast and contains just about anything you need for your automation. Keeping it in npm and package.json means that everyone can use it. No additional configuration is needed. Just npm install and then use the scripts. You now only have one place to keep updated.
-
+
Course Syllabus
Introduction- 9m 12s
—Introduction 4m 17s
—Our Example: npm init 2m 52s
—Summary 2m 2sGetting Started- 12m 8sPre and Post Hooks- 6m 48sScripts for Development and Test- 19m 35sScripts for Development: Watching- 17m 44sVersioning, Pushing, and Deploying- 14m 36sDeploy Script and Additional Tricks- 13m 13snpm as Build Script Summary- 4m 11s