UNPKG

postcss-at2x

Version:

Adds at-2x keyword to background and background-image declarations to add retina support for images.

50 lines (49 loc) 1.33 kB
{ "name": "postcss-at2x", "version": "5.0.1", "description": "Adds at-2x keyword to background and background-image declarations to add retina support for images.", "keywords": [ "postcss", "css", "postcssplugin", "at2x", "retina" ], "author": "Simon Smith <me@simonsmith.io>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/simonsmith/postcss-at2x.git" }, "main": "build/index.js", "dependencies": { "image-size": "^0.6.0", "is-url": "^1.2.2", "pify": "^3.0.0", "postcss-value-parser": "^3.3.0", "string.prototype.includes": "^1.0.0" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-rewire": "^1.1.0", "babel-preset-env": "^1.6.0", "eslint": "^3.14.1", "eslint-config-airbnb": "^14.0.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^3.0.2", "eslint-plugin-react": "^6.9.0", "jest": "^20.0.4", "jshint-stylish": "^2.2.1", "postcss": "^8.1.2" }, "peerDependencies": { "postcss": "^8.1.2" }, "scripts": { "lint": "eslint lib/index.js test/test.js", "build": "BABEL_ENV=production babel lib --out-dir build", "test": "jest && npm run lint", "prepublish": "npm run build" } }