bibliotheca
bibliotheca copied to clipboard
library template
Introduction
Bibliotheca is our starting point to create libraries.
Composition
This template kit is composed of:
- Size Limit
- Github Actions
- Microbundle
- Typescript (tsc)
- ESLint
- Prettier
- Vite for dev purposes
Folder Structure
- /bundled: Generated by
microbundleafter runningbuild:bundledscript. Includes all external dependencies. - /dist: Generated by
microbundleafter runningbuild:distscript.- /dist/types Generated by
tscafter runningbuild:typesscript.
- /dist/types Generated by
- /docs: Used by
vitethroughdevscript to serve the documentation. - /docs/App.jsx: here's where you can test your library.
- /src: Your library's raw code.
Bibliotheca in use
- @studio-freight/lenis Tiny, Performant, Vanilla JS, Smooth Scroll library.
- @studio-freight/tempus One rAF to rule them all.
- @studio-freight/hamo Collection of React hooks.
Authors
This toolkit is curated and maintained by the Studio Freight Darkroom team:
- Clement Roche (@clementroche_) – Studio Freight
- Guido Fier (@uido15) – Studio Freight
- Leandro Soengas (@lsoengas) - Studio Freight
- Franco Arza (@arzafran) - Studio Freight
