color-swatch
Version:
A web component for displaying color swatches.
54 lines (53 loc) • 1.22 kB
JSON
{
"name": "color-swatch",
"version": "0.3.0",
"description": "A web component for displaying color swatches.",
"type": "module",
"main": "index.js",
"module": "index.js",
"unpkg": "dist/color-swatch.es.js",
"repository": {
"type": "git",
"url": "git+https://github.com/bjankord/color-swatch.git"
},
"keywords": [
"color",
"swatch",
"color-swatch"
],
"author": "Brett Jankord",
"license": "MIT",
"files": [
"index.js",
"src",
"dist",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"bugs": {
"url": "https://github.com/bjankord/color-swatch/issues"
},
"homepage": "https://github.com/bjankord/color-swatch#readme",
"scripts": {
"dev": "vite dev",
"build": "vite build --config vite.config.js",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run test && npm run build"
},
"workspaces": [
"packages/color-swatch",
"packages/color-swatch-docs"
],
"dependencies": {
"colorjs.io": "^0.6.1"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/user-event": "^14.6.1",
"jsdom": "^28.0.0",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}