Search Gradle plugins

io.github.pereduromega.npm.plugin

Simple way to use npm scripts from gradle with scripts defined in package.json being auto-extracted as gradle tasks

https://github.com/PeredurOmega/GradleNpmPlugin

Sources: https://github.com/PeredurOmega/GradleNpmPlugin

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.pereduromega.npm.plugin") version "1.3.0-beta7"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.pereduromega:NpmPlugin:1.3.0-beta7")
      }
    }
    
    apply(plugin = "io.github.pereduromega.npm.plugin")
  • Applying plugins to all subprojects .