UNPKG

mix-css-color

Version:

Mix two colors together in variable proportion. Opacity is included in the calculations.

53 lines (52 loc) 1.38 kB
{ "name": "mix-css-color", "version": "0.2.0", "description": "Mix two colors together in variable proportion. Opacity is included in the calculations.", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "browser": "dist/index.umd.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "dev": "rollup -c -w", "test": "tape -r esm test/*.js | tap-spec", "build": "rollup -c", "watch": "onchange dist/index.cjs.js test/*.js -- npm test", "prepublishOnly": "npm run build && npm run test" }, "keywords": [ "mix", "css", "color", "hex", "rgb", "hsl" ], "repository": { "type": "git", "url": "https://github.com/noeldelgado/mix-css-color.git" }, "author": "Noel Delgado <pixelia.me@gmail.com> (https://pixelia.me/)", "license": "MIT", "dependencies": { "parse-css-color": "^0.1.2", "pure-color": "^1.3.0" }, "devDependencies": { "@rollup/plugin-buble": "^0.21.3", "@rollup/plugin-commonjs": "^11.1.0", "@rollup/plugin-node-resolve": "^7.1.3", "@rollup/plugin-replace": "^2.3.2", "eslint": "^7.0.0", "eslint-config-rollup": "^2.0.4", "esm": "^3.2.25", "onchange": "^7.0.2", "rollup": "^2.10.2", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-terser": "^7.0.2", "tap-spec": "^5.0.0", "tape": "^5.0.0" } }