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.2

1.1.2

Created 01 March 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.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects