mirror of
https://github.com/zhigang1992/react-three-fiber.git
synced 2026-01-12 22:51:27 +08:00
* 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>
4 lines
42 B
JavaScript
4 lines
42 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
}
|