Assume in my package.json I have a task named "xxx".
Using npm itself, I can run it as follows: npm run xxx
.
I also can run it with additional arguments in the following way: npm run xxx -- more arguments for xxx
.
Using gradle-node-plugin, I can run it via Gradle using ./gradlew npm_run_xxx
.
But is there a way to pass those additional arguments to the npm task, like I've done above with npm right on the Gradle command line?
What I've tried, and it doesn't work: ./gradlew npm_run_xxx --args="more args"
.