UNPKG

@electrovir/color

Version:

A wrapper for culori with an extremely simple API.

110 lines (109 loc) 3.93 kB
{ "name": "@electrovir/color", "version": "0.0.0", "description": "A wrapper for culori with an extremely simple API.", "keywords": [ "color", "culori", "rgb", "hsl", "hwb", "lab", "lch", "oklab", "oklch" ], "homepage": "https://github.com/electrovir/color", "bugs": { "url": "https://github.com/electrovir/color/issues" }, "repository": { "type": "git", "url": "git+https://github.com/electrovir/color.git" }, "license": "(MIT or CC0 1.0)", "author": { "name": "electrovir", "url": "https://github.com/electrovir" }, "sideEffects": false, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "virmator frontend build && npm run docs", "compile": "virmator compile", "docs": "virmator docs", "format": "virmator format", "lint": "virmator lint fix", "publish": "virmator publish npm run test:all", "start": "virmator frontend", "test": "virmator test web", "test:all": "npm run compile && concurrently --colors --kill-others-on-fail -c auto --names tests,spelling,format,docs,deps,lint,build \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\" \"npm run test:lint\" \"npm run build\"", "test:coverage": "npm run test coverage", "test:deps": "virmator deps check", "test:docs": "virmator docs check", "test:format": "virmator format check", "test:lint": "virmator lint", "test:spelling": "virmator spellcheck", "test:update": "npm test update" }, "dependencies": { "@augment-vir/assert": "^31.23.3", "@augment-vir/common": "^31.23.3", "color-name": "^2.0.0", "culori": "^4.0.1", "type-fest": "^4.41.0" }, "devDependencies": { "@augment-vir/test": "^31.23.3", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.28.0", "@stylistic/eslint-plugin": "^4.4.1", "@stylistic/eslint-plugin-ts": "^4.4.1", "@types/color-name": "^2.0.0", "@types/culori": "^4.0.0", "@typescript-eslint/eslint-plugin": "^8.33.1", "@web/dev-server-esbuild": "^1.0.4", "@web/test-runner": "^0.20.2", "@web/test-runner-commands": "^0.9.0", "@web/test-runner-playwright": "^0.11.0", "@web/test-runner-visual-regression": "^0.10.0", "cspell": "^9.0.2", "dependency-cruiser": "^16.10.2", "element-vir": "^26.0.0", "esbuild": "^0.25.5", "eslint": "^9.28.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-jsdoc": "^50.7.1", "eslint-plugin-monorepo-cop": "^1.0.2", "eslint-plugin-playwright": "^2.2.0", "eslint-plugin-prettier": "^5.4.1", "eslint-plugin-require-extensions": "^0.1.3", "eslint-plugin-sonarjs": "^3.0.2", "eslint-plugin-unicorn": "^59.0.1", "execute-in-browser": "^1.0.7", "istanbul-smart-text-reporter": "^1.1.5", "markdown-code-example-inserter": "^3.0.3", "prettier": "^3.3.3", "prettier-plugin-interpolated-html-tags": "^2.0.1", "prettier-plugin-jsdoc": "^1.3.2", "prettier-plugin-multiline-arrays": "^4.0.3", "prettier-plugin-organize-imports": "^4.1.0", "prettier-plugin-packagejson": "^2.5.15", "prettier-plugin-sort-json": "^4.1.1", "prettier-plugin-toml": "^2.0.5", "typedoc": "^0.28.5", "typescript": "^5.8.3", "typescript-eslint": "^8.33.1", "virmator": "^13.15.4", "vite": "^6.3.5" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public" } }