add a compile npm script and update deploy