1.0.2 โ€ข Published 8 months ago

job-embed-new v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
8 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.
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago