Deploy to npm and export copy function for publish assets

will have to test live