I think it would be really nice to split this plugin up into a Kotlin-Node-Support, Kotlin-Karma-Support, Kotlin-Rollup-Support, Kotlin-Webpack-Support etc.
Personally, my project only calls for some NPM depends followed by a rollup. It would be nice to do that without adding a dev depend on Webpack, Karma etc. Also if you did this you could add features like https://github.com/srs/gradle-node-plugin/blob/master/docs/node.md so that it's a complete "replacement" for manually dealing with package.json.
I think it would be really nice to split this plugin up into a Kotlin-Node-Support, Kotlin-Karma-Support, Kotlin-Rollup-Support, Kotlin-Webpack-Support etc. Personally, my project only calls for some NPM depends followed by a rollup. It would be nice to do that without adding a dev depend on Webpack, Karma etc. Also if you did this you could add features like https://github.com/srs/gradle-node-plugin/blob/master/docs/node.md so that it's a complete "replacement" for manually dealing with package.json.