Deploy to npm and export copy function for publish assets