postcss-color-hct
Version:
PostCSS plugin to transform hct() function to more compatible CSS (rgb() or rgba()).
63 lines (62 loc) • 1.47 kB
JSON
{
"name": "postcss-color-hct",
"version": "0.0.3",
"description": "PostCSS plugin to transform hct() function to more compatible CSS (rgb() or rgba()).",
"keywords": [
"postcss",
"css",
"postcss-plugin",
"color",
"rgb",
"hct"
],
"main": "./dist/postcss-color-hct.cjs.js",
"module": "./dist/postcss-color-hct.es.js",
"types": "./dist/postcss-color-hct.d.ts",
"author": "Rody Davis <rody.davis.jr@gmail.com>",
"license": "Apache 2.0",
"repository": {
"type": "git",
"url": "https://github.com/rodydavis/postcss-color-hct.git"
},
"dependencies": {
"@material/material-color-utilities": "^0.1.2",
"postcss": "5",
"reduce-function-call": "1"
},
"devDependencies": {
"@types/node": "^17.0.35",
"tap-spec": "^3.0.0",
"tape": "^4.0.0",
"typescript": "^4.7.2",
"vite": "^2.9.9",
"wireit": "^0.9.5"
},
"scripts": {
"build": "wireit",
"test": "wireit"
},
"wireit": {
"build": {
"dependencies": [
"build:ts",
"build:types"
]
},
"test": {
"command": "node test/test.js | tap-spec",
"dependencies": [
"build"
]
},
"build:ts": {
"command": "vite build"
},
"build:types": {
"command": "tsc src/index.ts --declaration --emitDeclarationOnly --skipLibCheck --esModuleInterop --outFile dist/postcss-color-hct.d.ts",
"dependencies": [
"build:ts"
]
}
}
}