title: Is it possible to create custom npm start command in package.json in Node.js
body: <p>I would like to achieve the situation where I can run both commands in npm:</p>
  
  <pre><code>npm start
  npm startDev
  </code></pre>
  
  <p>I configured package.json this way </p>
  
  <pre><code>{
    "name": "Test",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
      "start": "SET NODE_ENV=production &amp; nodemon servis.js",
      "startdev": "nodemon servis.js"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "dependencies": {
      "express": "^4.16.3",
      "morgan": "^1.9.0",
      "nodemon": "^1.18.3"
    }
  }
  </code></pre>
  
  <p>Running <strong>npm start</strong> works fine, but when I type <strong>npm startDev</strong> I get</p>
  
  <pre><code>Usage: npm &lt;command&gt;
  where &lt;command&gt; is one of:
      access, adduser, bin, bugs, c, cache, completion, config,
      ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
      explore, get, help, help-search, i, init, install,
      install-test, it, link, list, ln, login, logout, ls,
      outdated, owner, pack, ping, prefix, profile, prune,
      publish, rb, rebuild, repo, restart, root, run, run-script,
      s, se, search, set, shrinkwrap, star, stars, start, stop, t,
      team, test, token, tst, un, uninstall, unpublish, unstar,
      up, update, v, version, view, whoami
  </code></pre>