title: how to run node / babel script directly in command line?
body: <p>My package.json looks like:</p>
  
  <pre><code>{
    "name": "99-nodetest",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
      "start": "babel-node --presets env app.js"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "dependencies": {
      "babel-cli": "^6.26.0",
      "babel-preset-env": "latest"
    }
  }
  </code></pre>
  
  <p>The js script i want to run is app.js. I cannot run it directly using <strong>node app.js</strong> because app.js contains new language syntax.</p>
  
  <p>Thus i have to run it through babel, using <strong>npm start</strong>, as per the start script defined above. No issues here.</p>
  
  <p>My question is how to run the cmd directly in the command line, can it be done?
  something similar to:</p>
  
  <blockquote>
    <p>npm run babel-node --presets env app.js</p>
  </blockquote>