Acknowledgments |
Preface |
What’s in This Book |
Who Should Read This Book |
What You Need |
Conventions |
Where to Go for Help |
1. | The Very Basics |
Installing Grunt and Configuring a Gruntfile |
Our First Task |
Handling Parameters |
Throwing Errors |
Chaining Tasks |
Describing Tasks |
What’s Next? |
2. | Manage Files |
Creating the Project |
Creating and Deleting Directories |
Recursive File Copying |
Using Values from Files |
What’s Next? |
3. | One Task, Many Outputs |
Introducing Multitasks |
Multitasks and Files |
What’s Next? |
4. | Build a Workflow |
Creating the App |
Wrangling the JavaScript |
Adding Some Style |
Simplifying the Build |
Watching Files for Changes |
Refreshing the Browser Automatically |
What’s Next? |
5. | Create a Plug-in |
The Structure of a Plug-in |
Creating the Plug-in Skeleton |
Building Our Plug-in’s Logic |
Using JSHint to Check for Errors and Problems |
What’s Next? |
6. | Create Project Scaffolds |
Using Existing Templates |
Creating a Custom Template |
Including Files Conditionally |
Including File Contents Conditionally |
What’s Next? |
Bibliography |
13.59.123.182