Buttery ComponentsHeadless, accessible & style method agnostic React components that you can import, re-export and/or copy & paste
Buttery CommandsBuild a TS CLI the same way you would define NextJS or Remix routes
Buttery DocsCo-located, SSR ready, dead simple .md & .mdx docs
Buttery TokensEasily create, use, and scale a pure CSS design token system with 100% type-safety
Buttery LogsIsomorphic logging for full-stack apps
Buttery MetaSSR'd meta tags for your SSR'd React app
@buttery/tsconfig
A core package that exposes some pre-defined tsconfigs to make it easy to consistently refer to a central config that can then be built upon depending upon the use case.
Installation
yarn add @buttery/tsconfig
Usage
// tsconfig.json
{
"extends": "@buttery/tsconfig/library"
}
Dependencies
No @buttery intra-dependencies.
Exports
tsconfig.library.json
A common tsconfig that can be used as a baseline for creating TS libraries. This can also be utilized as a base tsconfig that then can be edited to fit the needs of the tsconfig that governs that specific part of a repository.
// tsconfig.json
{
"extends": "@buttery/tsconfig/library"
}
Scripts
No scripts needed for this library. This library exports pure JSON that is easily imported using this packages exports field in the package.json
