0.0.3 โ€ข Published 9 months ago

@dspangenberg/twcui v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-vite-component-template

Template for building a React component library, with Vite, TypeScript and Storybook.

Check my post about this repository here.

Features

  • โš›๏ธ React component library with TypeScript.

  • ๐Ÿ—๏ธ Vite as development environment.

  • ๐ŸŒณ Tree shaking, for not distributing dead-code.

  • ๐Ÿ“š Storybook for live viewing the components.

  • ๐ŸŽจ PostCSS for processing our CSS.

  • ๐Ÿ–Œ๏ธ CSS Modules in development, compiled CSS for production builds.

  • ๐Ÿงช Testing with Vitest and React Testing Library.

  • โœ… Code quality tools with ESLint, Prettier and Stylelint.

๐Ÿค– Scripts

ScriptFunction
buildBuild the dist, with types declarations, after checking types with TypeScript.
lintLint the project with Eslint.
lint:fixLint and fix the project with Eslint.
formatCheck the project format with Prettier.
format:fixFormat the project code with Prettier.
stylelintLint the styles code with Stylelint.
stylelint:fixLint and fix the styles code with Stylelint.
storybookStart a Storybook development server.
build-storybookBuild the Storybook dist.
testRun the tests with Vitest using jsdom and starts a Vitest UI dev server.
coverageGenerate a coverage report, with v8.

CodeRabbit Pull Request Reviews

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago