It should be possible to mark some sources, including nodejs_binary, and create a TreeArtifact that is a publishable npm artifact.
Activity
Introduce npm_package rule
Introduce npm_package rule
Introduce npm_package rule
Introduce npm_package rule