Search Gradle plugins

Generic npm/Node build lifecycle support, usable on any npm project (standalone SPA, library, or embedded frontend) regardless of whether a Java plugin is applied. Registers npmVersion, npmInstall, npmClean (wired into clean), npmRunBuild, and npmTest tasks. Optionally builds via nvm (Node Version Manager) instead of a system-installed npm. When org.sonarqube is already applied (directly or on a parent project), configures sonar.sources for the JS source tree.

https://github.com/jstano/gradle-plugins

Sources: https://github.com/jstano/gradle-plugins

Version 0.1.14 (latest)

Created 13 August 2026.

Generic npm/Node build lifecycle support, usable on any npm project (standalone SPA, library, or embedded frontend) regardless of whether a Java plugin is applied. Registers npmVersion, npmInstall, npmClean (wired into clean), npmRunBuild, and npmTest tasks. Optionally builds via nvm (Node Version Manager) instead of a system-installed npm. When org.sonarqube is already applied (directly or on a parent project), configures sonar.sources for the JS source tree.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.stano.npm") version "0.1.14"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.stano.npm:com.stano.npm.gradle.plugin:0.1.14")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.stano.npm")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.stano.npm:com.stano.npm.gradle.plugin:0.1.14")
      }
    }
    
    apply(plugin = "com.stano.npm")
  • Applying plugins to all subprojects .