Skip to content

bjankord/color-swatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-swatch

NPM version

color-swatch component README

Repo Development

Notes for developers working on this project

Prerequisites

  • Node.js 20+ (recommended)
  • npm (repo uses npm workspaces)

Install

From the repo root:

npm install

Run docs site (VitePress)

npm run dev

This runs the color-swatch-docs workspace.

Run unit tests

npm test

Work on the component package directly

Start the Vite dev server in the component workspace:

npm run dev --workspace packages/color-swatch

Build the library bundle:

npm run build --workspace packages/color-swatch

Docs

The VitePress content lives in packages/color-swatch-docs/:

  • getting-started.md
  • examples.md
  • docs.md

License

MIT — see LICENSE.

About

A web component for displaying color swatches.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors