This project uses pnpm as the package manager. Here's a list of available scripts:
dev
: Runs Storybook development server on port 6006.format:fix
: Fixes code formatting issues using Prettier.lint:fix
: Fixes linting issues automatically.build
: Lints, builds the project, and generates CSS.build-css
: Builds and minifies Tailwind CSS.test
: Runs tests using Vitest.build:ci
: Builds the project for CI environments.build-storybook
: Builds Storybook for production.format
: Checks code formatting using Prettier.lint
: Runs TypeScript compiler and ESLint.publish
: Publishes the package to NPM.prepublishOnly
: Runs linting, formatting, and build before publishing.build:watch
: Watches for changes and rebuilds the project.test:watch
: Runs tests in watch mode.To run a script, use:
pnpm <script-name>
For example:
pnpm dev
This will start the Storybook development server.