Hi All, I have the following in my *<build.gr>*ad...
# multiplatform
a
Hi All, I have the following in my *build.gr*ade.kt*...*
Copy code
kotlin {
    js() {
        useCommonJs()
        nodejs()
        binaries.executable()
    }.compilations.all {
        this.packageJson {
            this.private = false
            this.main = "index.js"
            this.version = "0.1.0"
        }

        kotlinOptions.sourceMap = true
        kotlinOptions.main = "index.js"
        kotlinOptions.metaInfo = true
    }
No matter what I do, the "main" entry in the resulting package.json always points to the generated JS file. What is the de facto way of modifying the package.json file, as well as packaging up the output for npm install? Thanks!