Key Features
- Gain a solid knowledge of Grunt to achieve better process management by improving consistency, productivity, reliability, and quality of code
- Install, configure, and use plugins into your project with this hands-on guide
- This step-by-step tutorial will walk you through practical examples of workflow automation
Book Description
With the increasing focus on task automation, the Grunt task runner is a vast platform that allows you to incorporate automation into your workflows.
At the outset, you will learn how to use Node.js and NMP through an example. You will then find out how to build a sample app and the development environment for it. You will further delve into the implementation of Grunt plugins and the configuration of Grunt tasks. Furthermore, you will explore the various methods and packages for workflow automation. The final chapter will cover some advanced concepts, such as configuration variables and how to create a Grunt plugin.
By the end of the book, you will have gained the fundamentals of Grunt and progressed through advanced concepts, including building a Grunt plugin.
What you will learn
- Install and configure Grunt and its dependencies such as Node.js and Node Package Manager (NPM)
- Create a sample application using Angular.JS
- Configure plugins to perform various tasks that will benefit your project
- Explore the task-specific methods available through the Grunt API such as configuration, externals, events, and logging
- Set up tasks to automate the build process of the simple contact application
- Build, test, and refine a sample project
- Get general tips, tricks, and troubleshooting strategies to identify and solve common issues in Grunt
- Advance your knowledge of Grunt with concepts such as configuration variables and test automation
About the Author
Douglas Reynolds is a web application developer. He holds a degree in software engineering and has worked with web technologies for over 15 years. Douglas currently works for Herff Jones as a Senior Web Applications Developer as a member of a highly skilled and dedicated team of professionals. Douglas writes and lectures on web technologies, teaches at Illinois State University in the Department of Technology, and writes on topics of technology for Packt Publishing. Douglas and his wife of over 20 years, along with their son and two dogs, live in Bloomington, Illinois. He loves his family and friends and enjoys spending time outdoors in nature, riding his Harley, and continually developing his relationship with God.
Table of Contents
- Grunt Dependencies
- Foundation for Creating an App using Angular.JS
- All about Grunt Plugins
- Configuration of Grunt Tasks
- Task Setup in the sample_project Application
- Building the Sample Project
- Advanced Grunt Concepts