title: Package.json, add local directory to node-modules
body: <p>I have local library for some graphs and I need add it to node_modules. Is there any way how to add this library using package.json?</p>
  
  <p>Our package.json looks like:</p>
  
  <pre><code>{
    "name": "name",
    "version": "1.01.01",
    "scripts": {
     ...
    },
    "dependencies": {
     ...
    },
     ...
  }
  </code></pre>
  
  <p>I mean to add something like:</p>
  
  <pre><code>  "directory": {
      "my-library": "./src/path/to/my/lib"
    }
  </code></pre>
  
  <p>Thank for any help.</p>