A generator for Yeoman.
A Yeoman generator for Wordpress including automatic database setup, the download and install of advanced custom fields, the download and install of Yoast SEO, install option for third party themes, and grunt script for minimising CSS/JS and compressing images.
This generator will:
To install generator-devpress from npm, run:
$ npm install -g generator-devpress
Finally, initiate the generator:
$ yo devpress
Running grunt will minify CSS/JS files and compress your images before moving all of these files to a dist directory for deployment. For your JS to be minified it must be called scripts.js and reside in the js folder in your theme directory. Don't forget to inlcude the scripts.js file in you project using wp_enqueue_scripts in your functions.php or including in the footer with script tags.
$ grunt build