Mastering Grunt
Architect, practice, and automate your development workflow with Grunt—the JavaScript Task Runner
Architect, practice, and automate your development workflow with Grunt—the JavaScript Task Runner
About This Video
- Learn how to use and configure Grunt and its plugins to automate your project’s tasks
- Write Grunt plugins and become the author of the next hip plugin
- Using a real-world application as a breadcrumb trail, the course examples are based on pragmatic use cases so you can easily learn the Grunt way of doing automation
In Detail
Grunt is everywhere. From JavaScript projects in jQuery to Twitter Bootstrap, everyone's using Grunt to convert code, run tests, and produce distributions for production. Web development activities are marked by repetitive tasks such as optimization, compilation, sprites assembling, and testing. Grunt stands on a wide number of rock solid plugins that will do the job for you, helping you to maximize your development time by reducing time spent doing repetitive tasks.
With this course, not only will you be able to set up and use Grunt in your projects, you’ll also learn about the Grunt internals and its philosophy. The goal is to prepare you to become a Grunt expert—from complex configuration to plugin authoring.
Using a real application as a leading thread, called Foodprint.io, we will automate most of the repetitive tasks in its workflow such as compiling SASS files, running unit tests, and bundling ES2015 code to ES5. We will start with an advanced configuration and customization of the Grunt environment, focusing on practical examples of creating a customized Grunt environment that will support large-scale web development.
Next, we will discover one of the most powerful aspects of Grunt—using live tasks to run the application in development mode. We'll talk about LiveReload, Test Automation, Modular configuration, and combining tasks. Another crucial part of the course is dedicated to creating a Grunt plugin from scratch, and we'll cover how to scaffold plugins using Grunt init and Yeoman, how to test them with Mocha and Chai, and how to publish them so others can use them. We finally end our journey with a dedicated focus on best practices and troubleshooting.
Full of advice, best practices, and real-life examples, the course isn’t just a combination of different Grunt configurations, it will give you all you need to architect your automation workflow, debug existing ones, and implement Grunt successfully in large and complex applications.
Get Mastering Grunt – Packt Publishing, Only Price $37
Course Curriculum
Grunt Your Companion
- The Course Overview (4:36)
- Setting Up and Installing the Project (3:44)
- Running Foodprint.io (4:04)
- Grunt Core Concepts (4:20)
- Grunt in Foodprint.io (3:16)
Gruntify Your Project
- Adding Quality Checks with ESLint (5:42)
- Running the Tests (5:45)
- Generating a Test Coverage Report (3:51)
- Bundling Client-side Modules (4:26)
Advanced Automation with Grunt
- Productivity with a Toolchain (6:24)
- Real-time Testing (5:08)
- Context-based Optimization (3:22)
- Combining Tasks to Create a Workflow (4:54)
The freedom of Plugin Authoring
- Plugin Scaffolding (4:24)
- registerTask Versus registerMultiTask (5:21)
- Plugin Communication (4:34)
- Handling Asynchronous Tasks (4:51)
Advanced Plugin Authoring
- Verbose, Debug, Error – Best Practice Output (5:24)
- Even More Pluggable with Events (3:40)
- Testing the Plugin with Mocha and Chai (4:14)
- Become Famous – Publish Your Plugin to the World
Managing a Maintainable Grunt Config
- A Cleaner Gruntfile (4:19)rt
- Parameterizing the Configuration (3:19)
- Taking Advantage of Your Environment – Grunt with npm (4:13)
- Divide and Rule – Split Your Grunt Tasks (4:13)
The Grunt Philosophy
- Common Pitfalls with Grunt (4:45)
- Adopting the Grunt Way (4:42)
- Task Runners (5:25)
Get Mastering Grunt – Packt Publishing, Only Price $37
Tag: Mastering Grunt – Packt Publishing Review. Mastering Grunt – Packt Publishing download. Mastering Grunt – Packt Publishing discount.
Reviews
There are no reviews yet.