changed cake compile to run on prepublish