default npm build and publish task to use dist flag