title: Run package.json scripts using grunt-maven-plugin
body: <p>I have added the following in package.json : </p>
  
  <pre><code>"scripts": {
      "tsc": "tsc",
      "tsc:w": "tsc -w",
      "lite": "lite-server",
      "start": "concurrent \"npm run tsc:w\" \"npm run lite\" "
    },
  </code></pre>
  
  <p>I am using grunt-maven-plugin to run the goals of npm and grunt like this : </p>
  
  <pre><code>&lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;pl.allegro&lt;/groupId&gt;
                                          &lt;artifactId&gt;
                                              grunt-maven-plugin
                                          &lt;/artifactId&gt;
                                          &lt;versionRange&gt;
                                              [1.5.1,)
                                          &lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;
                                                  create-resources
                                              &lt;/goal&gt;
                                              &lt;goal&gt;npm&lt;/goal&gt;
                                              &lt;goal&gt;grunt&lt;/goal&gt;
                                          &lt;/goals&gt;
                                      &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;ignore&gt;&lt;/ignore&gt;
                                      &lt;/action&gt;
                                  &lt;/pluginExecution&gt;
  </code></pre>
  
  <p>Now I will want that I am able to run the npm start script in using the goals or somehow using Grunt. How is it possible to do so .</p>
  
  <p>I understand that there is a plugin for typescript for grunt .. but I wanted to know how I can run this npm start using Grunt?</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
              &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;lifecycleMappingMetadata&gt;
                      &lt;pluginExecutions&gt;
                          &lt;pluginExecution&gt;
                              &lt;pluginExecutionFilter&gt;
                                  &lt;groupId&gt;
                                      org.apache.maven.plugins
                                  &lt;/groupId&gt;
                                  &lt;artifactId&gt;
                                      maven-war-plugin
                                  &lt;/artifactId&gt;
                                  &lt;versionRange&gt;
                                      [2.1.1,)
                                  &lt;/versionRange&gt;
                                  &lt;goals&gt;
                                &lt;goal&gt;exploded&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/pluginExecutionFilter&gt;
                              &lt;action&gt;
                                  &lt;ignore&gt;&lt;/ignore&gt;
                              &lt;/action&gt;
                          &lt;/pluginExecution&gt;
                          &lt;pluginExecution&gt;
                              &lt;pluginExecutionFilter&gt;
                                  &lt;groupId&gt;pl.allegro&lt;/groupId&gt;
                                  &lt;artifactId&gt;
                                      grunt-maven-plugin
                                  &lt;/artifactId&gt;
                                  &lt;versionRange&gt;
                                      [1.5.1,)
                                  &lt;/versionRange&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;
                                          create-resources
                                      &lt;/goal&gt;
                                      &lt;goal&gt;npm&lt;/goal&gt;
                                      &lt;goal&gt;grunt&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/pluginExecutionFilter&gt;
                              &lt;action&gt;
                                  &lt;ignore&gt;&lt;/ignore&gt;
                              &lt;/action&gt;
                          &lt;/pluginExecution&gt;
                      &lt;/pluginExecutions&gt;
                  &lt;/lifecycleMappingMetadata&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>