UNPKG

postcss-color-rgb

Version:

PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())

75 lines (74 loc) 1.77 kB
{ "name": "postcss-color-rgb", "version": "2.0.0", "description": "PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())", "keywords": [ "postcss", "css", "postcss-plugin", "color", "rgb", "rgba" ], "author": "David Marchena", "license": "MIT", "repository": "dmarchena/postcss-color-rgb", "bugs": { "url": "https://github.com/dmarchena/postcss-color-rgb/issues" }, "homepage": "https://github.com/dmarchena/postcss-color-rgb", "main": "dist/index.js", "files": [ "dist", "!**/__tests__" ], "dependencies": { "postcss": "^6.0.1", "postcss-value-parser": "^3.3.0" }, "devDependencies": { "ava": "^0.16.0", "babel-cli": "^6.14.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.14.0", "babel-register": "^6.14.0", "coveralls": "^2.11.13", "eslint": "^3.4.0", "eslint-config-postcss": "^2.0.2", "npm-run-all": "^3.1.0", "nyc": "^8.3.0", "rimraf": "^2.5.4" }, "scripts": { "clean": "rimraf dist", "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint src/**/*.js", "pretest": "npm run lint", "test:ava": "ava", "test": "nyc npm run test:ava", "prebuild": "npm-run-all clean lint", "build": "babel src --out-dir dist", "prepublish": "npm run build" }, "babel": { "presets": [ "es2015" ], "plugins": [ "add-module-exports" ] }, "ava": { "files": [ "src/__tests__/*.js", "!**/postcss-test.js" ], "require": [ "babel-register" ], "babel": "inherit" }, "eslintConfig": { "extends": "eslint-config-postcss/es5" } }