title: How to configure npm package to auto-update
body: <p>I have made this package: <a href="https://www.npmjs.com/package/nestjs-notifications" rel="nofollow noreferrer">https://www.npmjs.com/package/nestjs-notifications</a></p>
  <p>When I run <code>npm install nestjs-notifications --save</code> it will install ok and add to the registry, but will save it as:</p>
  <pre class="lang-json prettyprint-override"><code>&quot;nestjs-notifications&quot;: &quot;0.0.10&quot;
  </code></pre>
  <p>How do I configure it to so it will install with semantic version as:</p>
  <pre class="lang-json prettyprint-override"><code>&quot;nestjs-notifications&quot;: &quot;^0.0.10&quot;.
  </code></pre>
  <p>Currently I can't pick up the new version automatically, I have to manually change the version in package.json.</p>
  <hr />
  <p><strong>Edit:</strong> My pertinent <a href="https://docs.npmjs.com/cli/v6/using-npm/config" rel="nofollow noreferrer">config</a> settings are as follows (essentially they're default). So it should be saving with a caret:</p>
  <pre class="lang-none prettyprint-override"><code>save = true
  save-bundle = false
  save-dev = false
  save-exact = false
  save-optional = false
  save-prefix = &quot;^&quot;
  save-prod = false
  ...
  </code></pre>