2. • In General: Why, What, How?
• Automation with NPM Scripts
• Automation with Task Runners (Gulp)
JavaScript Build Automation
3. Build automation is the process of automating the
creation of a software build and the associated
processes including: compiling computer source code into
binary code, packaging binary code, and running
automated tests.
— Wikipedia
15. Automation with NPM Scripts
• Build Steps as Shell Commands
• Don't Have the Complexity of a Full Build Tool.
• No Need to Install an Additional Command-line
Tool to Run Your Build.
17. Gulp vs Grunt
• Code over Configuration
• More Compact Config
• VFS: No Temp Folders
• Streams Parallelism
18. Automation with Task Runners
• The Full Power of Node and JavaScript
• Consistent APIs Optimized for Composing Build
Tasks
• Huge Ecosystems of Plugins
• Avoid Cross-platform Compatibility Problems
22. Useful Links: NPM Scripts vs Task
Runners
• Build Tools vs npm Scripts: Why Not Both?
• Give Grunt the Boot! A Guide to Using npm as a Build Tool
• How to Use npm as a Build Tool
• Task Automation with npm Run
• Using npm as a Build System for Your next Project
23. Useful Resources to Learn
• Whole Picture [read]
• learn.javascript.ru Screen Cast Gulp [watch]
• Getting Started with Gulp [read][$]
• Gulp Basics [watch][$]
• JavaScript Build Automation With Gulp.js [watch][$]
• Learning Gulp - Getting Started with the Front End Factory [read]
• Rapid Gulp [watch][$]
• Using npm as a Task Runner [watch][$]