Book Image

Learning Yeoman

By : Jonathan Spratley
Book Image

Learning Yeoman

By: Jonathan Spratley

Overview of this book

Table of Contents (17 chapters)
Learning Yeoman
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Modern Workflows for Modern Webapps
Index

Summary


This chapter covered creating custom Yeoman generators that take multiple answers from command line prompts and scaffold a modern web application. We used the API to download and install libraries from Bower into the application.

We covered writing tests that verify the directory structure and contents of files created dynamically based on user input, and publish the generator to npm for community usage. We also covered using the generator to create a simple test website and created custom Grunt tasks.

In the next chapter, we are going to look at creating custom libraries using Yeoman. We will create three libraries using the CommonJS generator, Node.js generator, and jQuery plugin generator.