title: How to propagate npm script command line arguments?
body: <p>My <code>package.json</code> has few scripts defined in this manner.</p>
  
  <pre><code>{
    "name": "project",
    "scripts": {
      "standard": "./node_modules/.bin/standard",
      "lint": "npm run standard",
      "lint:fix": "npm run lint -- --fix"
    }
  }
  </code></pre>
  
  <p>When I execute <code>$ npm run lint:fix</code> I find that the argument <code>--fix</code> does not propagate to <code>./node_modules/.bin/standard</code>. This is the output that I get.</p>
  
  <pre>
  bash-3.2$ npm run lint:fix
  
  > project@0.0.1 lint:fix /path/to/my/project
  > npm run lint -- --fix
  
  > project@0.0.1 lint /path/to/my/project
  > npm run standard "--fix"
  
  > project@0.0.1 standard /path/to/my/project
  > standard
  
  standard: Use JavaScript Standard Style (http://standardjs.com)
  standard: Run `standard --fix` to automatically fix some problems.
    /path/to/my/project/data/someFile.js:38:34: Extra semicolon.
  
  npm ERR! Darwin 16.0.0
  npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "standard" "--fix"
  npm ERR! node v6.9.4
  npm ERR! npm  v3.10.10
  npm ERR! code ELIFECYCLE
  </pre>
  
  <p>Here there's an error because <code>--fix</code> argument didn't propagate correctly.</p>
  
  <p>Well, my question is not around linting or standardJs. I would like to know how to get the arguments propagate correctly till the top level script.</p>