accessible-colors
Version:
Utility functions for working with colors in adherence to WCAG 2.1 guidelines.
63 lines (62 loc) • 1.78 kB
JSON
{
"name": "accessible-colors",
"version": "1.0.8",
"description": "Utility functions for working with colors in adherence to WCAG 2.1 guidelines.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"bin": "scripts/bin.js",
"files": [
"dist/**/*"
],
"scripts": {
"build": "rollup -c",
"format": "prettier --write 'src/**/*'",
"build-production": "PRODUCTION=true yarn run build",
"lint": "eslint --fix 'src/**/*.ts'",
"test": "jest",
"prepare": "husky install",
"prepublishOnly": "yarn 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",
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^10.0.1",
"@types/jest": "^29.5.4",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"babel-jest": "^29.6.4",
"eslint": "^8.48.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"prettier": "^2.8.1",
"rollup": "^2.79.0",
"rollup-plugin-dts": "^5.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.1.1",
"typescript": "^4.9.4"
}
}