accessible-colors
Version:
Utility functions for working with colors in adherence to WCAG 2.1 guidelines.
74 lines (73 loc) • 1.84 kB
JSON
{
"name": "accessible-colors",
"version": "1.0.9",
"description": "Utility functions for working with colors in adherence to WCAG 2.1 guidelines.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"bin": "scripts/bin.js",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsup",
"format": "prettier --write 'src/**/*'",
"build-production": "PRODUCTION=true tsup",
"lint": "eslint --fix 'src/**/*.ts'",
"test": "jest",
"prepare": "husky",
"prepublishOnly": "npm run build-production"
},
"repository": "git+https://github.com/cdhawke/accessible-colors.git",
"keywords": [
"wcag",
"wcag-2.1",
"accessibility",
"accessible",
"color",
"colors",
"contrast",
"contrast-ratio",
"luminance",
"luminosity",
"suggestion",
"generator"
],
"author": "Christopher Hawke (https://github.com/cdhawke)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cdhawke/accessible-colors/issues"
},
"homepage": "https://github.com/cdhawke/accessible-colors#accessible-colors",
"overrides": {
"js-yaml": "4.1.1",
"minimatch": "5.1.8",
"brace-expansion": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"husky": "^9.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.0",
"ts-jest": "^29.2.3",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}