@yc-tech/react-component
TypeScript icon, indicating that this package has built-in type declarations

0.1.92 • Public • Published

⚛️⚡ Vite + React + Typescript + Storybook Component Library Template

Features

Getting Started

  1. Create a new repository using this one as template
  2. Clone your repo
  3. Install dependencies with pnpm i (first run corepack enable to enable pnpm)
  4. Run pnpm prepare command to setup Husky pre-commit hooks.

Main Scripts

Always prepending pnpm:

  • dev: Bootstrap the Storybook preview with Hot Reload.
  • build: Builds the static storybook project.
  • build:lib: Builds the component library into the dist folder.
  • lint:fix: Applies linting based on the rules defined in .eslintrc.js.
  • format:prettier: Formats files using the prettier rules defined in .prettierrc.
  • test: Runs testing using watch mode.
  • test:cov: Runs testing displaying a coverage report.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @yc-tech/react-component

Weekly Downloads

36

Version

0.1.92

License

none

Unpacked Size

327 kB

Total Files

84

Last publish

Collaborators

  • djangod