How to publish Optionally clean /dist directory first Build TS and SVG spritemaps npm run build Copy additional files into dist directory pub.bat Publish contents of dist directory to npm cd dist npm publish