Search Gradle plugins

lt.petuska.npm.publish

Integrates with kotlin JS/MPP plugins to setup publishing to NPM repositories for all JS targets. Also allows for arbitrary non-kotlin publications

https://github.com/mpetuska/npm-publish

Sources: https://gitlab.com/lt.petuska/npm-publish

Version 1.1.3

1.1.3

Created 03 April 2021.

A maven-publish alternative for NPM package publishing. Integrates with kotlin JS/MPP plugins (if applied) to automatically setup publishing to NPM repositories for all JS targets.

Using the plugins DSL:

plugins {
  id("lt.petuska.npm.publish") version "1.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("lt.petuska:npm-publish:1.1.3")
  }
}

apply(plugin = "lt.petuska.npm.publish")

Using the plugins DSL:

plugins {
  id "lt.petuska.npm.publish" version "1.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "lt.petuska:npm-publish:1.1.3"
  }
}

apply plugin: "lt.petuska.npm.publish"

Learn how to apply plugins to subprojects