Matthew Daly's Blog

I'm a web developer in Norfolk. This is my blog...

25th January 2014 11:38 am

My First Yeoman Generator

At work I use the Skeleton boilerplate a lot - my boss, who handles most of the design work, likes it and generally uses it for his designs. I’ve also been using Grunt a lot lately, so it was inevitable that I’d probably start to look for a Yeoman generator for working with it.

There was an existing Yeoman generator for Skeleton, but it didn’t really do what I wanted. I wanted something that:

  • Included jQuery and Modernizr
  • Automatically concatenates and minifies all the JavaScript and CSS
  • Will automatically rebuild on changes
  • Includes LiveReload and a development server
  • Includes automatic deployment via FTP

After looking through the documentation for Yeoman, it was actually quick and easy to throw together my own generator and put it up. It’s available here, and the GitHub repository is here.

Future plans for it include:

  • Adding auto-prefixing for CSS
  • Removing redundant CSS rules automatically
  • Possibly, alternate deployment methods

Frustratingly, NPM seems to be playing up at present - it’s not picking up the README file, and the Yeoman site isn’t pulling it in. Any idea why, anyone?

Recent Posts

Flow Typed AJAX Responses With React Hooks

Caching the Laravel User Provider With a Decorator

The Trouble With Integrated Static Analysis

Don't Use Stdclass

F*** Phpstorm Man and the High Horse He Rode in on

About me

I'm a web and mobile app developer based in Norfolk. My skillset includes Python, PHP and Javascript, and I have extensive experience working with CodeIgniter, Laravel, Zend Framework, Django, Phonegap and React.js.