@markosamuli/postcss-at2x
Version:
Adds at-2x keyword to background and background-image declarations to add retina support for images.
63 lines (62 loc) • 1.6 kB
JSON
{
"name": "@markosamuli/postcss-at2x",
"version": "4.0.3",
"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/markosamuli/postcss-at2x.git"
},
"main": "lib/index.js",
"files": [
"lib/index.js"
],
"engines": {
"node" : ">=8.15.0 <12.0"
},
"dependencies": {
"image-size": "^0.6.0",
"is-url": "^1.2.2",
"pify": "^3.0.0",
"postcss": "^6.0.6",
"postcss-value-parser": "^3.3.0",
"string.prototype.includes": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-rewire": "^1.1.0",
"cross-env": "^5.2.0",
"eslint": "^5.14.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"jest": "^24.1.0",
"jshint-stylish": "^2.2.1"
},
"scripts": {
"lint": "eslint src/index.js test/test.js",
"build": "cross-env BABEL_ENV=production babel src --out-dir lib",
"test": "jest && npm run lint",
"prepare": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}