To use sbt-npm in an existing SBT project with SBT 1 or a later version, add the following dependencies to your
project/plugins.sbt
depending on your needs:
addSbtPlugin(
"io.chrisdavenport" %% "sbt-npm-package" % "<version>"
)
For Publishing ScalaJS Package to npm