build/prepublish and set a main