svg-color-linter
Version:
Linting tool to check if SVG files use only colors of a given color palette
69 lines (68 loc) • 1.7 kB
JSON
{
"name": "svg-color-linter",
"displayName": "SVG Color Linter",
"version": "3.0.0",
"description": "Linting tool to check if SVG files use only colors of a given color palette",
"main": "./lib/index.js",
"module": "./lib/index.js",
"bin": {
"svg-color-linter": "bin/cli.js"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "bun test",
"lint": "biome check",
"format": "bunx @biomejs/biome format --write ./src",
"prepublish": "bun run build"
},
"files": [
"lib/"
],
"keywords": [
"SVG",
"Linter",
"Colors"
],
"engines": {
"bun": ">=1.0.0"
},
"author": {
"name": "Philipp Kief",
"email": "philipp.kief@gmx.de",
"url": "https://pkief.com"
},
"funding": "https://github.com/sponsors/pkief",
"license": "MIT",
"bugs": {
"url": "https://github.com/PKief/svg-color-linter/issues"
},
"homepage": "https://github.com/PKief/svg-color-linter/blob/main/README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/PKief/svg-color-linter.git"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/bun": "^1.1.6",
"@types/chroma-js": "^2.4.4",
"@types/glob": "^8.1.0",
"@types/is-glob": "^4.0.4",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/minimist": "^1.2.5",
"changelogen": "^0.5.7",
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
},
"dependencies": {
"chroma-js": "^3.0.0",
"glob": "^11.0.0",
"is-glob": "^4.0.3",
"is-svg": "^5.0.1",
"js-yaml": "^4.1.0",
"minimist": "^1.2.8"
},
"patchedDependencies": {
"changelogen@0.5.7": "patches/changelogen@0.5.7.patch"
}
}