gatsby-plugin-image
Version:
Adding responsive images to your site while maintaining high performance scores can be difficult to do manually. The Gatsby Image plugin handles the hard parts of producing images in multiple sizes and formats for you!
109 lines (108 loc) • 4.01 kB
JSON
{
"name": "gatsby-plugin-image",
"version": "3.14.0",
"scripts": {
"build": "npm-run-all --npm-path npm -s clean -p build:*",
"postbuild": "prepend-directive --files=dist/gatsby-image.browser.js,dist/gatsby-image.browser.modern.js --directive=\"use client\"",
"build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src",
"build:gatsby-ssr": "microbundle -i src/gatsby-ssr.tsx -f cjs -o ./[name].js --no-pkg-main --jsx React.createElement --jsxFragment React.Fragment --no-compress --external=common-tags,react --no-sourcemap",
"build:server": "microbundle -f cjs,es --jsx React.createElement --jsxFragment React.Fragment --define SERVER=true",
"build:browser": "microbundle -i src/index.browser.ts -f cjs,modern --jsx React.createElement --jsxFragment React.Fragment -o dist/gatsby-image.browser --define SERVER=false",
"prepare": "yarn build",
"watch": "npm-run-all --npm-path npm -s clean -p watch:*",
"watch:gatsby-node": "yarn build:gatsby-node --watch",
"watch:gatsby-ssr": "yarn build:gatsby-ssr watch",
"watch:server": "yarn build:server --no-compress watch",
"watch:browser": "yarn build:browser --no-compress watch",
"test": "jest",
"test:watch": "jest --watch",
"clean": "del-cli dist/*"
},
"sideEffects": false,
"keywords": [
"gatsby",
"gatsby-plugin"
],
"main": "dist/gatsby-image.js",
"module": "dist/gatsby-image.module.js",
"esmodule": "dist/gatsby-image.modern.js",
"browser": {
"./dist/gatsby-image.js": "./dist/gatsby-image.browser.js",
"./dist/gatsby-image.module.js": "./dist/gatsby-image.browser.modern.js"
},
"files": [
"dist/*",
"gatsby-node.js",
"gatsby-ssr.js",
"gatsby-browser.js",
"graphql-utils.js",
"graphql-utils.d.ts"
],
"types": "dist/src/index.d.ts",
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-image#readme",
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@testing-library/react": "^11.2.7",
"@types/babel__core": "^7.20.0",
"@types/babel__traverse": "^7.18.3",
"@types/fs-extra": "^9.0.13",
"@types/node": "^14.18.42",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"ast-pretty-print": "^2.0.1",
"babel-plugin-macros": "^3.1.0",
"cross-env": "^7.0.3",
"cssnano": "^4.1.11",
"del-cli": "^3.0.1",
"do-sync": "^3.1.1",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"prepend-directive": "^1.1.0",
"semver": "^7.5.3",
"terser": "^5.16.8",
"typescript": "^5.1.6"
},
"peerDependencies": {
"@babel/core": "^7.12.3",
"gatsby": "^5.0.0-next",
"gatsby-plugin-sharp": "^5.0.0-next",
"gatsby-source-filesystem": "^5.0.0-next",
"react": "^18.0.0 || ^0.0.0",
"react-dom": "^18.0.0 || ^0.0.0"
},
"peerDependenciesMeta": {
"gatsby-plugin-sharp": {
"optional": true
},
"gatsby-source-filesystem": {
"optional": true
}
},
"dependencies": {
"@babel/code-frame": "^7.18.6",
"@babel/parser": "^7.20.13",
"@babel/runtime": "^7.20.13",
"@babel/traverse": "^7.20.13",
"babel-jsx-utils": "^1.1.0",
"babel-plugin-remove-graphql-queries": "^5.14.0",
"camelcase": "^6.3.0",
"chokidar": "^3.5.3",
"common-tags": "^1.8.2",
"fs-extra": "^11.2.0",
"gatsby-core-utils": "^4.14.0",
"gatsby-plugin-utils": "^4.14.0",
"objectFitPolyfill": "^2.3.5",
"prop-types": "^15.8.1"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-plugin-image"
},
"author": "Matt Kane <matt@gatsbyjs.com>",
"license": "MIT",
"gitHead": "5397fbf5554ec3d937cc5a9042f2141b698d9eab"
}