gatsby-background-image
Version:
Lazy-loading React background-image component with optional support for the blur-up effect.
67 lines (66 loc) • 1.87 kB
JSON
{
"name": "gatsby-background-image",
"description": "Lazy-loading React background-image component with optional support for the blur-up effect.",
"version": "0.3.0",
"author": "Tim Hagn <mail@timhagn.com>",
"contributors": [
"Tim Hagn <mail@timhagn.com>",
"Kyle Mathews <mathews.kyle@gmail.com>"
],
"bugs": {
"url": "https://github.com/timhagn/gatsby-background-image/issues"
},
"dependencies": {
"@babel/runtime": "^7.4.3",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.7.1",
"babel-preset-gatsby-package": "^0.1.4",
"core-js": "^2.6.5",
"cross-env": "^5.2.0",
"jest": "^24.7.1",
"jest-dom": "^3.1.3",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-testing-library": "^6.1.2"
},
"peerDependencies": {
"react": "16.x",
"react-dom": "16.x"
},
"homepage": "https://github.com/timhagn/gatsby-background-image#readme",
"keywords": [
"gatsby",
"gatsby-component",
"gatsby-image",
"background-image",
"backgroundImage",
"background",
"image",
"react-component"
],
"license": "MIT",
"main": "./index.js",
"files": [
"/index.js",
"/IntersectionObserverUtils.js",
"/ImageUtils.js",
"/BackgroundUtils.js",
"/StyleUtils.js",
"/HelperUtils.js"
],
"repository": "https://github.com/timhagn/gatsby-background-image",
"scripts": {
"build": "npm run format && babel src --out-dir . --ignore **/__tests__",
"format": "prettier --write \"src/*.js\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"test": "jest --env=jsdom",
"test:update": "jest --env=jsdom -u --coverage"
}
}