Files
react-three-fiber/jest.config.js
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

4 lines
42 B
JavaScript

module.exports = {
preset: 'ts-jest',
}