Skip to content

Commit b3fcccc

Browse files
postcss-color-golf-4.0.0 (#2410)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 914b825 commit b3fcccc

1 file changed

Lines changed: 103 additions & 0 deletions

File tree

directory/postcss-color-golf.json

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"name": "postcss-color-golf",
3+
"version": "4.0.0",
4+
"description": "PostCSS plugin for aggressive minification and optimization of CSS color values. Make every color a hole-in-one for your bundle size!",
5+
"author": {
6+
"name": "xero",
7+
"url": "https://x-e.ro"
8+
},
9+
"license": "CC0-1.0",
10+
"main": "dist/index.cjs",
11+
"module": "dist/index.mjs",
12+
"types": "dist/index.d.ts",
13+
"type": "module",
14+
"exports": {
15+
"import": "./dist/index.mjs",
16+
"require": "./dist/cjs-proxy.cjs",
17+
"default": "./dist/index.cjs"
18+
},
19+
"scripts": {
20+
"lint": "node ./node_modules/eslint/bin/eslint.js",
21+
"build": "[ -d './dist' ] && rm -rf ./dist; tsup src/index.ts --format esm,cjs && printf '%s' \"module.exports=require('./index.cjs').default;\" > ./dist/cjs-proxy.cjs",
22+
"test": "vitest run"
23+
},
24+
"repository": {
25+
"type": "git",
26+
"url": "git+https://github.com/xero/postcss-color-golf.git"
27+
},
28+
"keywords": [
29+
"postcss",
30+
"postcss-plugin",
31+
"css",
32+
"minify",
33+
"color",
34+
"optimization",
35+
"short hex",
36+
"css minifier",
37+
"code golf",
38+
"culori",
39+
"css4",
40+
"hex",
41+
"rgb",
42+
"rgba",
43+
"color names",
44+
"shorten",
45+
"plugin"
46+
],
47+
"peerDependencies": {
48+
"postcss": "^8.0.0"
49+
},
50+
"dependencies": {
51+
"culori": "^4.0.2",
52+
"postcss-value-parser": "^4.2.0",
53+
"vuln-regex-detector": "^1.3.0"
54+
},
55+
"devDependencies": {
56+
"@eslint/js": "^9.31.0",
57+
"@types/culori": "^4.0.0",
58+
"@types/postcss-js": "^4.0.4",
59+
"eslint": "^9.31.0",
60+
"tsup": "^8.5.0",
61+
"typescript": "^5.8.3",
62+
"typescript-eslint": "^8.37.0",
63+
"vitest": "^3.2.4"
64+
},
65+
66+
"gitHead": "b7cae28605f3a60b8ffada17a712364ec00bc36a",
67+
"bugs": {
68+
"url": "https://github.com/xero/postcss-color-golf/issues"
69+
},
70+
"homepage": "https://github.com/xero/postcss-color-golf#readme",
71+
"_nodeVersion": "22.8.0",
72+
"_npmVersion": "10.8.2",
73+
"dist": {
74+
"integrity": "sha512-W5vmo3NzbhSqWl4SiD4O96QYUgpjCFM1p/x95azy6IcZAMlXwoY6nBmu4JcHqiJBWluVmx9lnWFJN+zdHFSW2w==",
75+
"shasum": "e60a9c56948b7b4f27d5066cffcf2741e9597466",
76+
"tarball": "https://registry.npmjs.org/postcss-color-golf/-/postcss-color-golf-4.0.0.tgz",
77+
"fileCount": 8,
78+
"unpackedSize": 46309,
79+
"signatures": [
80+
{
81+
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
82+
"sig": "MEQCIF0cCnXOeoEs9xgMl6D+islslaX7QqFKe6zKDp4SGpR5AiAO76VZysLg+1lI8DG/yD7C8xg15yob9H9ltZ0fR/eg1Q=="
83+
}
84+
]
85+
},
86+
"_npmUser": {
87+
"name": "xero",
88+
"email": "[email protected]"
89+
},
90+
"directories": {},
91+
"maintainers": [
92+
{
93+
"name": "xero",
94+
"email": "[email protected]"
95+
}
96+
],
97+
"_npmOperationalInternal": {
98+
"host": "s3://npm-registry-packages-npm-production",
99+
"tmp": "tmp/postcss-color-golf_4.0.0_1753000669999_0.44912542063969907"
100+
},
101+
"_hasShrinkwrap": false,
102+
"_time": "2025-07-20T08:37:50.215Z"
103+
}

0 commit comments

Comments
 (0)