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
microbundle
after runningbuild:bundled
script. Includes all external dependencies. -
/dist: Generated by
microbundle
after runningbuild:dist
script.-
/dist/types Generated by
tsc
after runningbuild:types
script.
-
/dist/types Generated by
-
/docs: Used by
vite
throughdev
script 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