Skip to content

asifqatar/svelte-micdrop-task

Repository files navigation

Svelte Component Center - v2

Overview

This project is a Component Center for JetPack in Svelte.

Installation

To set up the project, install the dependencies using either of the following commands:

# create a new project in the current directory
npm install

# create a new project in my-app
yarn install 
# or 
yarn

To start the development server, run:

npm run dev 
# or
yarn dev

The server will be available at http://localhost:5173/.

Storybook Integration

To view and interact with the components in a Storybook environment, execute the following command:

npm run storybook
# or
yarn storybook

Storybook will be available at http://localhost:6006/.

Testing

To execute the tests and verify that they pass, use:

npm run test
# or
yarn test

For development purposes, if you need to continuously monitor the test results as you make changes, run:

npm run test:watch
# or
yarn test:watch

To run tests in a browser-based interface, which allows you to see test progress in real-time, use:

npm run test:ui
# or
yarn test:ui

This will open the testing interface at http://localhost:51205/.