title: `Cannot find module` from a new owned TypeScript module
body: <p>I have juste publish a new Typescript project on NPM registry, <a href="https://github.com/UrielCh/puppeteer-jquery" rel="nofollow noreferrer">puppeteer-jquery</a>. The code works fine.
  But when I try to use it in an other project:</p>
  
  <pre class="lang-sh prettyprint-override"><code>npm install puppeteer-jquery
  </code></pre>
  
  <p>and try to import it with:</p>
  
  <pre class="lang-js prettyprint-override"><code>import { PageEx, BrowserEx } from 'puppeteer-jquery';
  </code></pre>
  
  <p>I get the error:
  <code>Cannot find module 'puppeteer-jquery'.ts(2307)</code></p>
  
  <p>Locally, I can only use it by installing a local source copy, and importing:</p>
  
  <pre class="lang-js prettyprint-override"><code>import { PageEx, BrowserEx } from './node_modules/puppeteer-jquery/src/setup';
  </code></pre>
  
  <p>the <a href="https://github.com/UrielCh/puppeteer-jquery/blob/master/package.json" rel="nofollow noreferrer">package.json</a> from pupeteer-jquery:</p>
  
  <pre><code>{
    "name": "puppeteer-jquery",
    ...
    "main": "lib/index.js", /* also tried with "./lib/index.js" value */
    "typings": "lib/index.d.ts", /* tried with "types" and "typings" key */
    "devDependencies": {
      ...
      "typescript": "^3.6.4"
    },
    "files": ["lib", "data/*.js"] /* data contains jquery.js as a ressource */
  }
  
  </code></pre>
  
  <p>the <a href="https://github.com/UrielCh/puppeteer-jquery/blob/master/tsconfig.json" rel="nofollow noreferrer">tsconfig.json</a> from puppeteer-jquery:</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "ES2017",
      "module": "commonjs",
      "declaration": true,
      "strict": true,
      "moduleResolution": "node",
      "esModuleInterop": true,
      "outDir": "lib",
      "rootDirs": [
        "src"
      ]
    },
    "include": [ "src" ], /* added after the first post */
    "exclude": ["node_modules", "lib"]
  }
  </code></pre>
  
  <p>npm publish --dry-run:</p>
  
  <pre class="lang-sh prettyprint-override"><code>npm notice   puppeteer-jquery@0.1.5
  npm notice === Tarball Contents === 
  npm notice 1.1kB   LICENSE              
  npm notice 410B    lib/index.js         
  npm notice 280.4kB data/jquery-3.4.1.js 
  npm notice 5.7kB   lib/jQueryPlugin.js  
  npm notice 77B     lib/PJQuery.js       
  npm notice 1.0kB   lib/setup.js         
  npm notice 1.2kB   package.json         
  npm notice 2.0kB   README.md            
  npm notice 242B    lib/index.d.ts       
  npm notice 411B    lib/jQueryPlugin.d.ts
  npm notice 2.2kB   lib/PJQuery.d.ts     
  npm notice 518B    lib/setup.d.ts       
  npm notice === Tarball Details === 
  </code></pre>
  
  <p>This issue looks like <a href="https://stackoverflow.com/questions/54695891/cannot-find-module-for-my-own-typescript-">stackoverflow 54695891</a> but it's not the same.</p>
  
  <p>PS:</p>
  
  <ul>
  <li>this is not my first Typescript project</li>
  <li>this project have no depencences</li>
  <li>I also try to include TS source and source maps into the released package, but withou more success.</li>
  </ul>