Use prepublish rule to build minified files.
Add .npminclude.
Replace .npminclude with .npmignore.