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!
99 lines (98 loc) • 3.61 kB
JSON
{
"name": "gatsby-plugin-image",
"version": "2.11.1",
"scripts": {
"build": "npm-run-all -s clean -p build:*",
"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 --no-compress --external=common-tags,react --no-sourcemap",
"build:server": "microbundle -f cjs,es --jsx React.createElement --define SERVER=true",
"build:browser": "microbundle -i src/index.browser.ts -f cjs,modern,es --jsx React.createElement -o dist/gatsby-image.browser --define SERVER=false",
"prepare": "yarn build",
"watch": "run-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.module.js",
"./dist/gatsby-image.modern.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.15.4",
"@babel/core": "^7.15.5",
"@testing-library/react": "^11.2.7",
"@types/babel__core": "^7.1.12",
"@types/babel__traverse": "^7.11.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^14.10.2",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"ast-pretty-print": "^2.0.1",
"babel-plugin-macros": "^2.8.0",
"cross-env": "^7.0.3",
"cssnano": "^4.1.10",
"del-cli": "^3.0.1",
"do-sync": "^3.0.11",
"microbundle": "^0.13.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.9",
"semver": "^7.0.0",
"terser": "^5.3.8",
"typescript": "^4.5.5"
},
"peerDependencies": {
"@babel/core": "^7.12.3",
"gatsby": "^4.0.0-next",
"gatsby-plugin-sharp": "^4.0.0-next",
"gatsby-source-filesystem": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/code-frame": "^7.14.0",
"@babel/parser": "^7.15.5",
"@babel/runtime": "^7.15.4",
"@babel/traverse": "^7.15.4",
"babel-jsx-utils": "^1.1.0",
"babel-plugin-remove-graphql-queries": "^4.11.1",
"camelcase": "^5.3.1",
"chokidar": "^3.5.2",
"common-tags": "^1.8.2",
"fs-extra": "^10.0.0",
"gatsby-core-utils": "^3.11.1",
"objectFitPolyfill": "^2.3.5",
"prop-types": "^15.7.2"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-plugin-image"
},
"author": "Matt Kane <matt@gatsbyjs.com>",
"license": "MIT",
"gitHead": "ad8c330df7b452b2e515b20d0d11dcb1385b9f6b"
}