eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.2k stars 867 forks source link

Parallel execution of npm tasks #1069

Closed shashankvivek closed 1 year ago

shashankvivek commented 1 year ago

Is it possible to run the exeution task in parallel ? I could not find any mention of that in https://github.com/eirslett/frontend-maven-plugin#running-npm

                    <execution>
                        <id>angular-lint</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <configuration>
                            <arguments>run lint</arguments>
                        </configuration>
                    </execution>

                    <execution>
                        <id>angular-test</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <configuration>
                            <arguments>run test:prod</arguments>
                        </configuration>
                    </execution>
eirslett commented 1 year ago

You can use Concurrently: https://www.npmjs.com/package/concurrently