UNPKG

color-combos

Version:

Get accessibility information about colour combinations

105 lines (104 loc) 2.55 kB
{ "name": "color-combos", "version": "1.2.0", "description": "Get accessibility information about colour combinations", "entry": "src/index.ts", "type": "module", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "engines": { "node": "24.12.0", "bun": ">=1.0.0" }, "files": [ "dist", "README.md" ], "scripts": { "build": "bun run clean && bun run compile", "build:dev": "bun run clean && bun run compile:dev", "clean": "rm -rf ./dist", "compile": "NODE_ENV=production bun run build.ts", "compile:dev": "NODE_ENV=development bun run build.ts", "lint": "biome check .", "lint:fix": "biome check --write .", "format": "biome format .", "format:fix": "biome format --write .", "test": "bun test src", "test:integration": "bun test _test_/integration", "test:all": "bun run test && bun run build && bun run test:integration", "semantic-release": "semantic-release", "size": "bun run build && size-limit", "prepare": "husky" }, "repository": { "type": "git", "url": "https://github.com/SiTaggart/color-combos.git" }, "keywords": [ "accessibility", "color", "a11y", "wcag", "contrast", "typescript", "esm" ], "sideEffects": false, "author": "sitaggart", "license": "MIT", "bugs": { "url": "https://github.com/SiTaggart/color-combos/issues" }, "homepage": "https://github.com/SiTaggart/color-combos#readme", "dependencies": { "apca-w3": "^0.1.9", "color": "5.0.3", "lodash.uniq": "4.5.0" }, "devDependencies": { "@biomejs/biome": "2.3.10", "@sitaggart/lint-config": "1.0.3", "@size-limit/preset-big-lib": "12.0.0", "@types/apca-w3": "^0.1.3", "@types/bun": "1.3.5", "@types/color": "4.2.0", "@types/lodash": "4.17.21", "@types/lodash.uniq": "4.5.9", "@types/node": "24.10.4", "husky": "9.1.7", "oxc-transform": "0.104.0", "precise-commits": "1.0.2", "semantic-release": "25.0.2", "size-limit": "12.0.0" }, "size-limit": [ { "path": "dist/*.js", "limit": "14 kB" }, { "path": "dist/*.mjs", "limit": "14 kB", "import": "ColorCombos" } ], "release": { "branches": [ "main" ] } }