Skip to content

Commit

Permalink
Add gatsby-remark-images-contentful
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwiemer committed Jun 18, 2018
1 parent 3d1a6c4 commit da27845
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
10 changes: 9 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ module.exports = {
{
resolve: `gatsby-remark-prismjs`,
},
{
resolve: `gatsby-remark-images-contentful`,
options: {
maxWidth: 650,
backgroundColor: 'white',
linkImagesToOriginal: false,
},
},
],
},
},
Expand All @@ -56,7 +64,6 @@ module.exports = {
? contentfulConfig.development
: contentfulConfig.production,
},
'gatsby-plugin-netlify',
{
resolve: 'gatsby-plugin-google-analytics',
options: {
Expand Down Expand Up @@ -153,5 +160,6 @@ module.exports = {
color: config.themeColor,
},
},
'gatsby-plugin-netlify',
],
}
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,31 @@
"author": "Ryan Wiemer <[email protected]>",
"dependencies": {
"chalk": "^2.4.1",
"contentful-import": "^7.0.1",
"gatsby": "^1.9.261",
"gatsby-image": "^1.0.51",
"contentful-import": "^7.0.2",
"gatsby": "^1.9.272",
"gatsby-image": "^1.0.54",
"gatsby-link": "^1.6.44",
"gatsby-plugin-canonical-urls": "^1.0.18",
"gatsby-plugin-feed": "^1.3.22",
"gatsby-plugin-feed": "^1.3.25",
"gatsby-plugin-google-analytics": "^1.0.31",
"gatsby-plugin-manifest": "^1.0.22",
"gatsby-plugin-netlify": "^1.0.19",
"gatsby-plugin-manifest": "^1.0.27",
"gatsby-plugin-netlify": "^1.0.21",
"gatsby-plugin-nprogress": "^1.0.14",
"gatsby-plugin-offline": "^1.0.16",
"gatsby-plugin-offline": "^1.0.18",
"gatsby-plugin-react-helmet": "^2.0.11",
"gatsby-plugin-sitemap": "^1.2.23",
"gatsby-plugin-sitemap": "^1.2.25",
"gatsby-plugin-styled-components": "^2.0.11",
"gatsby-remark-prismjs": "^2.0.2",
"gatsby-source-contentful": "^1.3.51",
"gatsby-source-filesystem": "^1.5.36",
"gatsby-transformer-remark": "^1.7.41",
"inquirer": "^5.2.0",
"gatsby-remark-images-contentful": "^1.0.2",
"gatsby-remark-prismjs": "^2.0.4",
"gatsby-source-contentful": "^1.3.54",
"gatsby-source-filesystem": "^1.5.39",
"gatsby-transformer-remark": "^1.7.44",
"inquirer": "^6.0.0",
"lodash": "^4.17.10",
"path": "^0.12.7",
"prismjs": "^1.14.0",
"prismjs": "^1.15.0",
"react-helmet": "^5.2.0",
"styled-components": "^3.3.0",
"styled-components": "^3.3.2",
"whatwg-fetch": "^2.0.4"
},
"keywords": [
Expand All @@ -51,8 +52,8 @@
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-gatsby-standard": "^1.2.1",
"prettier": "^1.13.2",
"stylelint": "9.2.1",
"prettier": "^1.13.5",
"stylelint": "9.3.0",
"stylelint-config-prettier": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
Expand Down

0 comments on commit da27845

Please sign in to comment.