I found using Yeoman for building my Ionic application in a certain way, too late because I already started more than a month ago by cloning the Git repository. I also found Grunt too cumbersome/time-consuming, and much like Yeoman, too much of an overkill and not really much of a nice fit for assets compression.
I made an NPM plugin that installs a nice Cordova hook so that after each app build
cordova prepare <platform> or
cordova run <platform>, your assets in the respective iOS and Android platforms get minified/uglified, and your images get some form of a compression. I would be glad if you can check it out here. The GitHub repository is here. You can install it simply by running
npm install cordova-minify.
This is my first foray into making Node.js packages, so I’d be happy if you can give me some inputs!