Ionic Deploy custom tasks

When I build the code into an apk I run several tasks (hooks) to uglify/minify my javascript/css before building it. Is there a way to run similar custom tasks when using the Ionic Deploy service before the www folder gets packed and uploaded?