Files
react-three-fiber/tsconfig.json
Piotr Monwid-Olechnowicz cfa4470f6d Fix type conflict with @types/react (#233)
* Add three-types.test.tsx to check if three.types.ts works

* Comment out audio and line from typings

* Map over THREE exports to build a type for fake components

* Map over three export to create dictionary with element names

* Test components object

* Named export fake components

* Add fake component for New

* Fix components export

* Adapt components export to new publish style.

I've noticed you're publishing just `dist` right now. That's super nice.

I'm changing types outdir, so `components.d.ts` stands right beside
`components.js` what enables typed _subdirectory-style_ import.

---

Additional changes:

- Add "pack-dist" script to package.json
  I've been using it a lot, and I suppose it would be cool to download
  packed package with a GitHub Action or sth like that in Pull Requests.

Co-authored-by: Paul Henschel <drcmda@gmail.com>
2020-01-08 09:29:17 +01:00

25 lines
544 B
JSON

{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"jsx": "react",
"pretty": true,
"strict": true,
"skipLibCheck": true,
"declaration": true,
"removeComments": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"resolveJsonModule": true,
"noImplicitThis": false,
"baseUrl": "./src",
"paths": {
"react-three-fiber": ["./"]
}
},
"include": ["./src", "extras"],
"exclude": ["./node_modules/**/*"]
}