Use npm prepublish script to create pre-compiled UI. 

Make npm public with version 0.0.1