From 9e6a77d4c3b597c389f18b8e70c4142022e484b6 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Sat, 24 Feb 2018 16:33:30 -0800 Subject: [PATCH] Fix for #4225 & various other tweaks --- gatsby-node.js | 76 +--- package-lock.json | 711 +++++++++++++++++++++------------ package.json | 20 +- src/cms/cms.js | 16 +- src/components/Content.js | 13 +- src/components/Features.js | 6 +- src/components/Navbar.js | 19 +- src/components/Pricing.js | 12 +- src/components/Testimonials.js | 4 +- src/layouts/index.js | 16 +- src/pages/404.js | 6 +- src/pages/index.js | 18 +- src/templates/about-page.js | 34 +- src/templates/blog-post.js | 48 ++- src/templates/product-page.js | 42 +- 15 files changed, 613 insertions(+), 428 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index 01dfea9..bd04f3b 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -1,66 +1,16 @@ -const path = require("path"); +const path = require("path") exports.createPages = ({ boundActionCreators, graphql }) => { - const { createPage } = boundActionCreators; + const { createPage } = boundActionCreators return graphql(` { - allMarkdownRemark( - sort: { order: DESC, fields: [frontmatter___date] } - limit: 1000 - ) { + allMarkdownRemark(limit: 1000) { edges { node { - excerpt(pruneLength: 400) - html - id frontmatter { - templateKey path - date - title - image - heading - description - intro { - blurbs { - image - text - } - heading - description - } - main { - heading - description - image1 { - alt - image - } - image2 { - alt - image - } - image3 { - alt - image - } - } - testimonials { - author - quote - } - full_image - pricing { - heading - description - plans { - description - items - plan - price - } - } + templateKey } } } @@ -68,22 +18,20 @@ exports.createPages = ({ boundActionCreators, graphql }) => { } `).then(result => { if (result.errors) { - result.errors.forEach(e => console.error(e.toString())); - return Promise.reject(result.errors); + result.errors.forEach(e => console.error(e.toString())) + return Promise.reject(result.errors) } return result.data.allMarkdownRemark.edges.forEach(({ node }) => { - const pagePath = node.frontmatter.path; + const pagePath = node.frontmatter.path createPage({ path: pagePath, component: path.resolve( `src/templates/${String(node.frontmatter.templateKey)}.js` ), // additional data can be passed via context - context: { - path: pagePath - } - }); - }); - }); -}; + context: {}, + }) + }) + }) +} diff --git a/package-lock.json b/package-lock.json index c5d83c4..6549058 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,11 +4,40 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "@types/history": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@types/history/-/history-4.6.2.tgz", + "integrity": "sha512-eVAb52MJ4lfPLiO9VvTgv8KaZDEIqCwhv+lXOMLlt4C1YHTShgmMULEg0RrCbnqfYd6QKfHsMp0MiX0vWISpSw==" + }, "@types/node": { "version": "8.5.2", "resolved": "https://registry.npmjs.org/@types/node/-/node-8.5.2.tgz", "integrity": "sha512-KA4GKOpgXnrqEH2eCVhiv2CsxgXGQJgV1X0vsGlh+WCnxbeAE1GT44ZsTU1IN5dEeV/gDupKa7gWo08V5IxWVQ==" }, + "@types/react": { + "version": "16.0.38", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.0.38.tgz", + "integrity": "sha512-t0XJHNrlzLiVAKCWxS9zzAadoQO8zGFpHsrvNVk7QmrDXnm3cPFy2wFcHGNbKjntBiXznL6qQkh+a1Wxu21+dA==" + }, + "@types/react-router": { + "version": "4.0.22", + "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-4.0.22.tgz", + "integrity": "sha512-niqN3wGnnURY24PW0soSlMe9JxZU+H3d6zWOax99+Cw3QZE7mlIdbRbD68S5z+9saS694IHTRrdqXVl4P0UT6g==", + "requires": { + "@types/history": "4.6.2", + "@types/react": "16.0.38" + } + }, + "@types/react-router-dom": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-4.2.4.tgz", + "integrity": "sha512-m90mTx1kWJ75H6WALbJtcxvbbQkt4BrlUDFrrAy7HKlAO6Vf6yRuc41m85PbIAABrJZnrMDXp1wwnR5ios8u4Q==", + "requires": { + "@types/history": "4.6.2", + "@types/react": "16.0.38", + "@types/react-router": "4.0.22" + } + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -100,14 +129,6 @@ "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=" }, - "ansi-red": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz", - "integrity": "sha1-jGOPnRCAgAo1PJwoyKgcpHBdlGw=", - "requires": { - "ansi-wrap": "0.1.0" - } - }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -2436,11 +2457,6 @@ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" }, - "coffee-script": { - "version": "1.12.7", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", - "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==" - }, "collapse-white-space": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.3.tgz", @@ -2595,15 +2611,6 @@ "typedarray": "0.0.6" } }, - "config-chain": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.11.tgz", - "integrity": "sha1-q6CXR9++TD5w52am5BWG4YWfxvI=", - "requires": { - "ini": "1.3.5", - "proto-list": "1.2.4" - } - }, "configstore": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.1.tgz", @@ -3299,16 +3306,25 @@ "yauzl": "2.9.1" } }, - "deep-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=" - }, "deep-extend": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=" }, + "deepmerge": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz", + "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==" + }, + "define-properties": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", + "requires": { + "foreach": "2.0.5", + "object-keys": "1.0.11" + } + }, "define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", @@ -3386,6 +3402,11 @@ "repeating": "2.0.1" } }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, "detect-port": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.2.2.tgz", @@ -4340,6 +4361,11 @@ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, "fastparse": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", @@ -4825,6 +4851,11 @@ "for-in": "1.0.2" } }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -4907,6 +4938,14 @@ "universalify": "0.1.1" } }, + "fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "requires": { + "minipass": "2.2.1" + } + }, "fs-readdir-recursive": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", @@ -5728,9 +5767,9 @@ "integrity": "sha1-THbsL/CsGjap3M+aAN+GIweNTtg=" }, "gatsby": { - "version": "1.9.149", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-1.9.149.tgz", - "integrity": "sha512-dPcNtv5abBI2c9o4vYFxFfGpHtJ0qNh68NcyFu53NQROSvnWhgDH6jFiKabRA368EFGmBwO+0rHYE7GRo+X8Qw==", + "version": "1.9.215", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-1.9.215.tgz", + "integrity": "sha1-yRjHgs7roBPUhDIqF5s4vLWxQC0=", "requires": { "async": "2.6.0", "babel-code-frame": "6.26.0", @@ -5764,20 +5803,21 @@ "express": "4.16.2", "express-graphql": "0.6.11", "extract-text-webpack-plugin": "1.0.1", + "fast-levenshtein": "2.0.6", "file-loader": "0.9.0", "flat": "2.0.1", "friendly-errors-webpack-plugin": "1.6.1", "front-matter": "2.3.0", "fs-extra": "4.0.3", - "gatsby-1-config-css-modules": "1.0.8", - "gatsby-cli": "1.1.28", - "gatsby-link": "1.6.32", - "gatsby-module-loader": "1.0.9", - "gatsby-react-router-scroll": "1.0.7", + "gatsby-1-config-css-modules": "1.0.9", + "gatsby-cli": "1.1.44", + "gatsby-link": "1.6.37", + "gatsby-module-loader": "1.0.10", + "gatsby-react-router-scroll": "1.0.11", "glob": "7.1.2", "graphql": "0.11.7", "graphql-relay": "0.5.4", - "graphql-skip-limit": "1.0.9", + "graphql-skip-limit": "1.0.10", "history": "4.7.2", "invariant": "2.2.2", "is-relative": "0.2.1", @@ -5818,6 +5858,7 @@ "relay-compiler": "1.4.1", "remote-redux-devtools": "0.5.12", "serve": "6.4.3", + "shallow-compare": "1.2.2", "sift": "3.3.12", "signal-exit": "3.0.2", "slash": "1.0.0", @@ -5827,6 +5868,8 @@ "style-loader": "0.13.2", "type-of": "2.0.1", "url-loader": "0.5.9", + "uuid": "3.1.0", + "v8-compile-cache": "1.1.2", "webpack": "1.15.0", "webpack-configurator": "0.3.1", "webpack-dev-middleware": "1.12.2", @@ -5838,10 +5881,18 @@ "yaml-loader": "0.4.0" }, "dependencies": { + "gatsby-1-config-css-modules": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/gatsby-1-config-css-modules/-/gatsby-1-config-css-modules-1.0.9.tgz", + "integrity": "sha1-rn6//K6kscyCGVG3HBIxB9aXv6o=", + "requires": { + "babel-runtime": "6.26.0" + } + }, "gatsby-cli": { - "version": "1.1.28", - "resolved": "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-1.1.28.tgz", - "integrity": "sha512-v65Iu0TM3zysztuc8Zq54tHnLW5JBl7Y4f/b0Q5W/1JxEWTGgcuSwvP8KOmRXtjf5ZzBhMFmvklz+eymKU7EjA==", + "version": "1.1.44", + "resolved": "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-1.1.44.tgz", + "integrity": "sha1-dMiB4B4J1Aa7jNgdM5fClQ01YNk=", "requires": { "babel-code-frame": "6.26.0", "babel-runtime": "6.26.0", @@ -5862,6 +5913,34 @@ "yurnalist": "0.2.1" } }, + "gatsby-module-loader": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/gatsby-module-loader/-/gatsby-module-loader-1.0.10.tgz", + "integrity": "sha1-MlYN5IfqVSMJeRe8HcdrmhJHu+k=", + "requires": { + "babel-runtime": "6.26.0", + "loader-utils": "0.2.17" + } + }, + "gatsby-react-router-scroll": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.11.tgz", + "integrity": "sha1-GtO9/H8KiXq/JOTYkRHuSd5RZpE=", + "requires": { + "babel-runtime": "6.26.0", + "scroll-behavior": "0.9.9", + "warning": "3.0.0" + } + }, + "graphql-skip-limit": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/graphql-skip-limit/-/graphql-skip-limit-1.0.10.tgz", + "integrity": "sha1-CSO4suMzz8XUcoP6PjdmV6E3hFI=", + "requires": { + "babel-runtime": "6.26.0", + "graphql": "0.11.7" + } + }, "react": { "version": "15.6.2", "resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz", @@ -5873,105 +5952,161 @@ "object-assign": "4.1.1", "prop-types": "15.6.0" } + }, + "scroll-behavior": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/scroll-behavior/-/scroll-behavior-0.9.9.tgz", + "integrity": "sha1-6/4GWEVbgq2IW2YZUhVBZnTazOI=", + "requires": { + "dom-helpers": "3.3.1", + "invariant": "2.2.2" + } } } }, - "gatsby-1-config-css-modules": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/gatsby-1-config-css-modules/-/gatsby-1-config-css-modules-1.0.8.tgz", - "integrity": "sha512-eZoNmkk3Am9eAmTi3fCRN+pMklVjUnOn9YneM3WLtYatn0ByqbpiFD1CLZVosWNcD/to2wkri546zULRLMD55Q==", - "requires": { - "babel-runtime": "6.26.0" - } - }, "gatsby-link": { - "version": "1.6.32", - "resolved": "https://registry.npmjs.org/gatsby-link/-/gatsby-link-1.6.32.tgz", - "integrity": "sha512-94EIZNDRFi/BBH9GIojY6a/BKPpgERJ1OGcsPsgmUB6XCgNFDWtoiulcDyudLtMIL1mNwqbg2QUjJt8K4HCBtQ==", + "version": "1.6.37", + "resolved": "https://registry.npmjs.org/gatsby-link/-/gatsby-link-1.6.37.tgz", + "integrity": "sha1-0TIpDAI53C4RqRBjU8WG+WkZRnM=", "requires": { + "@types/history": "4.6.2", + "@types/react-router-dom": "4.2.4", "babel-runtime": "6.26.0", "prop-types": "15.6.0", "ric": "1.3.0" } }, - "gatsby-module-loader": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/gatsby-module-loader/-/gatsby-module-loader-1.0.9.tgz", - "integrity": "sha512-PVq20rxDYAZVXBDgQzp5aNC0s9r4Je/UNVQUHE89N+CihY+POm+jp9eIHWLDzeGgMHGcSOg8Zn5MaHpngXL+5Q==", - "requires": { - "babel-runtime": "6.26.0", - "loader-utils": "0.2.17" - } - }, "gatsby-plugin-netlify-cms": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/gatsby-plugin-netlify-cms/-/gatsby-plugin-netlify-cms-1.0.8.tgz", - "integrity": "sha1-Nc8Wt/LvRayI/TAb1CTtHN9xq7c=", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/gatsby-plugin-netlify-cms/-/gatsby-plugin-netlify-cms-1.0.9.tgz", + "integrity": "sha1-MpLUWr38Y/k0pPuZbM04OfA16eA=", "requires": { "html-webpack-include-assets-plugin": "1.0.2", "html-webpack-plugin": "2.30.1", - "netlify-cms": "1.2.2" + "netlify-cms": "1.2.2", + "netlify-identity-widget": "1.4.11" } }, "gatsby-plugin-react-helmet": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-1.0.8.tgz", - "integrity": "sha512-kkt+uvbu/fxb55z7URH6YBXGc2I80myannVPMmv0Mmrr3Ennmm4uTgrgTiTrkasyFN0AKGlXRuuHa2/zrc1TXA==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-2.0.5.tgz", + "integrity": "sha1-y2PKHJtgBKEhQZDPvh0kFyext9U=", "requires": { - "babel-runtime": "6.26.0", - "react-helmet": "5.2.0" + "babel-runtime": "6.26.0" } }, "gatsby-plugin-sass": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-1.0.15.tgz", - "integrity": "sha512-u6Cm53ZS6f5kTyrT2KRLvcq5S2ziO6857AtWkmwE6BiBt3sdp8z8CKtbM/oNhVFdDxoeaUylMP4es1ayn77IqQ==", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-1.0.17.tgz", + "integrity": "sha1-SVWyXiyO3IvYf8gUeKKFEqODg6k=", "requires": { "babel-runtime": "6.26.0", "extract-text-webpack-plugin": "1.0.1", - "gatsby-1-config-css-modules": "1.0.8", + "gatsby-1-config-css-modules": "1.0.9", "node-sass": "4.7.2", "sass-loader": "4.1.1", "webpack": "1.15.0" + }, + "dependencies": { + "gatsby-1-config-css-modules": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/gatsby-1-config-css-modules/-/gatsby-1-config-css-modules-1.0.9.tgz", + "integrity": "sha1-rn6//K6kscyCGVG3HBIxB9aXv6o=", + "requires": { + "babel-runtime": "6.26.0" + } + } } }, "gatsby-plugin-sharp": { - "version": "1.6.24", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.24.tgz", - "integrity": "sha512-rz+qzrTbua+eVYUDy2Kg0CR4TbOj/wbw69LJlJSJKZ+vAUPFgILM16VvrcbmgIrOWi9z2YUJDQh7JTM4gEbfJQ==", + "version": "1.6.34", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.34.tgz", + "integrity": "sha1-Ec1grz06nI53dyR2uiAIMPfnHrY=", "requires": { "async": "2.6.0", "babel-runtime": "6.26.0", "bluebird": "3.5.1", - "image-size": "0.5.5", "imagemin": "5.3.1", "imagemin-pngquant": "5.0.1", "imagemin-webp": "4.0.0", "lodash": "4.17.4", "potrace": "2.1.1", + "probe-image-size": "3.2.0", "progress": "1.1.8", - "sharp": "0.17.3", + "sharp": "0.19.1", "svgo": "0.7.2" - } - }, - "gatsby-react-router-scroll": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.7.tgz", - "integrity": "sha512-A+Vr4Rb2MKmWsgotdHJTZ6H3+NBKF4Pubi9p1t/8F3ruEC+V0BnmjL5KVDxUOrND9E+L6KvsP+xN/6ywwCKmXA==", - "requires": { - "babel-runtime": "6.26.0", - "scroll-behavior": "0.9.5", - "warning": "3.0.0" + }, + "dependencies": { + "color": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", + "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", + "requires": { + "color-convert": "1.9.1", + "color-string": "1.5.2" + } + }, + "color-string": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.2.tgz", + "integrity": "sha1-JuRYFLw8mny9Z1FkikFDRRSnc6k=", + "requires": { + "color-name": "1.1.3", + "simple-swizzle": "0.2.2" + } + }, + "nan": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.9.2.tgz", + "integrity": "sha512-ltW65co7f3PQWBDbqVvaU1WtFJUsNW7sWWm4HINhbMQIyVyzIeyZ8toX5TC5eeooE6piZoaEh4cZkueSKG3KYw==" + }, + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" + }, + "sharp": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.19.1.tgz", + "integrity": "sha1-gZvxH1w/T/MutGXyVbX7h+Q87qE=", + "requires": { + "color": "3.0.0", + "detect-libc": "1.0.3", + "nan": "2.9.2", + "semver": "5.5.0", + "simple-get": "2.7.0", + "tar": "4.4.0", + "tunnel-agent": "0.6.0" + } + }, + "tar": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.0.tgz", + "integrity": "sha512-gJlTiiErwo96K904FnoYWl+5+FBgS+FimU6GMh66XLdLa55al8+d4jeDfPoGwSNHdtWI5FJP6xurmVqhBuGJpQ==", + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.1", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "yallist": "3.0.2" + } + }, + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" + } } }, "gatsby-remark-images": { - "version": "1.5.36", - "resolved": "https://registry.npmjs.org/gatsby-remark-images/-/gatsby-remark-images-1.5.36.tgz", - "integrity": "sha512-Ka+LnpfaRvWnr4WjIhdkM8S1cfnae7zOvgayLEkBDJkZb387CldPKmbuVHtm0QnliVI8feSSi5zTE+SfI6E7mw==", + "version": "1.5.50", + "resolved": "https://registry.npmjs.org/gatsby-remark-images/-/gatsby-remark-images-1.5.50.tgz", + "integrity": "sha1-aVAi24+EOFeCr7tXvFfDZXI2dGk=", "requires": { "babel-runtime": "6.26.0", "cheerio": "1.0.0-rc.2", - "gatsby-plugin-sharp": "1.6.24", + "gatsby-plugin-sharp": "1.6.34", "is-relative-url": "2.0.0", "lodash": "4.17.4", "slash": "1.0.0", @@ -6015,9 +6150,9 @@ } }, "gatsby-source-filesystem": { - "version": "1.5.11", - "resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.11.tgz", - "integrity": "sha512-vJeLXP1sQ896lhGsvuVI/dA6aViVJW6t6hetig9lIxGwaDzPNht0ti3Zj+51d/GjkIExr7uePKtyiUYpujasPg==", + "version": "1.5.24", + "resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.24.tgz", + "integrity": "sha1-XR/5s5lP/5Z76S9v6ifmzxunX74=", "requires": { "babel-cli": "6.26.0", "babel-runtime": "6.26.0", @@ -6056,13 +6191,15 @@ } }, "gatsby-transformer-remark": { - "version": "1.7.26", - "resolved": "https://registry.npmjs.org/gatsby-transformer-remark/-/gatsby-transformer-remark-1.7.26.tgz", - "integrity": "sha512-hNmqFbGQjcib/DdLAPRQMKu/0OrJatznWmSbwS/xOr3050/sLtboZtDZvz9K8MH4SRYePCwg1MPa2DT5zBlvMQ==", + "version": "1.7.33", + "resolved": "https://registry.npmjs.org/gatsby-transformer-remark/-/gatsby-transformer-remark-1.7.33.tgz", + "integrity": "sha1-AvyIIGu9rJiUQsJDwyKbZGjomZs=", "requires": { "babel-runtime": "6.26.0", "bluebird": "3.5.1", - "gray-matter": "2.1.1", + "graphql-type-json": "0.1.4", + "gray-matter": "3.1.1", + "hast-util-raw": "2.0.2", "hast-util-to-html": "3.1.0", "lodash": "4.17.4", "mdast-util-to-hast": "2.5.0", @@ -6075,26 +6212,52 @@ "sanitize-html": "1.16.3", "underscore.string": "3.3.4", "unified": "6.1.6", + "unist-util-remove-position": "1.1.1", "unist-util-select": "1.5.0", "unist-util-visit": "1.3.0" + }, + "dependencies": { + "esprima": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", + "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" + }, + "gray-matter": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-3.1.1.tgz", + "integrity": "sha512-nZ1qjLmayEv0/wt3sHig7I0s3/sJO0dkAaKYQ5YAOApUtYEOonXSFdWvL1khvnZMTvov4UufkqlFsilPnejEXA==", + "requires": { + "extend-shallow": "2.0.1", + "js-yaml": "3.10.0", + "kind-of": "5.1.0", + "strip-bom-string": "1.0.0" + } + }, + "js-yaml": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", + "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==", + "requires": { + "argparse": "1.0.9", + "esprima": "4.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + } } }, "gatsby-transformer-sharp": { - "version": "1.6.16", - "resolved": "https://registry.npmjs.org/gatsby-transformer-sharp/-/gatsby-transformer-sharp-1.6.16.tgz", - "integrity": "sha512-8wbmT1U3AXYZB/5wNIMcAZY9QaqOES8Oec1UlW/YwFRe2jpbzKYQ7pmxXBe4Bf7d8G5hyD9Viu8NnpGAvt9FRw==", + "version": "1.6.21", + "resolved": "https://registry.npmjs.org/gatsby-transformer-sharp/-/gatsby-transformer-sharp-1.6.21.tgz", + "integrity": "sha1-kNrtekcdlu0dSf3oO69eGNBeGqs=", "requires": { "babel-runtime": "6.26.0", "bluebird": "3.5.1", "fs-extra": "4.0.3", - "image-size": "0.6.2" - }, - "dependencies": { - "image-size": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.6.2.tgz", - "integrity": "sha512-pH3vDzpczdsKHdZ9xxR3O46unSjisgVx0IImay7Zz2EdhRVbCkj+nthx9OuuWEhakx9FAO+fNVGrF0rZ2oMOvw==" - } + "probe-image-size": "3.2.0" } }, "gauge": { @@ -6455,42 +6618,10 @@ "resolved": "https://registry.npmjs.org/graphql-relay/-/graphql-relay-0.5.4.tgz", "integrity": "sha1-WAUM/hYRhZX4KrOqv8l0VGznVag=" }, - "graphql-skip-limit": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/graphql-skip-limit/-/graphql-skip-limit-1.0.9.tgz", - "integrity": "sha512-xe02XZBG8HW4Oa0rr5X1r0/8kJ95Fq8ZCNaadiivqmES97bmaUjTGT2+q67VvwsaTkJT4eyhyjoh/4/7DJwF/Q==", - "requires": { - "babel-runtime": "6.26.0", - "graphql": "0.11.7" - } - }, - "gray-matter": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-2.1.1.tgz", - "integrity": "sha1-MELZrewqHe1qdwep7SOA+KF6Qw4=", - "requires": { - "ansi-red": "0.1.1", - "coffee-script": "1.12.7", - "extend-shallow": "2.0.1", - "js-yaml": "3.10.0", - "toml": "2.3.3" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" - }, - "js-yaml": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", - "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==", - "requires": { - "argparse": "1.0.9", - "esprima": "4.0.0" - } - } - } + "graphql-type-json": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/graphql-type-json/-/graphql-type-json-0.1.4.tgz", + "integrity": "sha1-ifE/XTLOCMmnbHn9+cGWg4TYGk4=" }, "gulp-decompress": { "version": "1.2.0", @@ -6801,6 +6932,20 @@ "minimalistic-assert": "1.0.0" } }, + "hast-to-hyperscript": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-3.1.0.tgz", + "integrity": "sha512-/At2y6sQLTAcL6y+3hRQFcaBoRlKrmHSpvvdOZqRz6uI2YyjrU8rJ7e1LbmLtWUmzaIqKEdNSku+AJC0pt4+aw==", + "requires": { + "comma-separated-tokens": "1.0.4", + "is-nan": "1.2.1", + "kebab-case": "1.0.0", + "property-information": "3.2.0", + "space-separated-tokens": "1.1.1", + "trim": "0.0.1", + "unist-util-is": "2.1.1" + } + }, "hast-util-embedded": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/hast-util-embedded/-/hast-util-embedded-1.0.0.tgz", @@ -6852,6 +6997,38 @@ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.1.0.tgz", "integrity": "sha1-tVwPS7e7IEDIicMl74erKcOBArQ=" }, + "hast-util-raw": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-2.0.2.tgz", + "integrity": "sha512-ujytXSAZC85bvh38f8ALzfE2IZDdCwB9XeHUs9l20C1p4/1YeAoZqq9z9U17vWQ9hMmqbVaROuSK8feL3wTCJg==", + "requires": { + "hast-util-from-parse5": "2.1.0", + "hast-util-to-parse5": "2.2.0", + "html-void-elements": "1.0.2", + "parse5": "3.0.3", + "unist-util-position": "3.0.0", + "web-namespaces": "1.1.1", + "zwitch": "1.0.2" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + }, + "hast-util-from-parse5": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-2.1.0.tgz", + "integrity": "sha1-9hI9g9NoljCwl+E+Qw0W2dG9iIQ=", + "requires": { + "camelcase": "3.0.0", + "hastscript": "3.1.0", + "property-information": "3.2.0", + "vfile-location": "2.0.2" + } + } + } + }, "hast-util-to-html": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-3.1.0.tgz", @@ -6884,6 +7061,18 @@ "xtend": "4.0.1" } }, + "hast-util-to-parse5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-2.2.0.tgz", + "integrity": "sha512-Eg1mrf0VTT/PipFN5z1+mVi+4GNhinKk/i/HKeX1h17IYiMdm3G8vgA0FU04XCuD1cWV58f5zziFKcBkr+WuKw==", + "requires": { + "hast-to-hyperscript": "3.1.0", + "mapz": "1.0.1", + "web-namespaces": "1.1.1", + "xtend": "4.0.1", + "zwitch": "1.0.2" + } + }, "hast-util-to-string": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.1.tgz", @@ -7197,11 +7386,6 @@ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=" }, - "image-size": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=" - }, "imagemin": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-5.3.1.tgz", @@ -7650,6 +7834,14 @@ "xtend": "4.0.1" } }, + "is-nan": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.2.1.tgz", + "integrity": "sha1-n69ltvttskt/XAYoR16nH5iEAeI=", + "requires": { + "define-properties": "1.1.2" + } + }, "is-natural-number": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-2.1.1.tgz", @@ -8730,6 +8922,14 @@ "object-visit": "1.0.1" } }, + "mapz": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mapz/-/mapz-1.0.1.tgz", + "integrity": "sha1-ns7HV9PD/gqKbzY+Mo6u5ppChEE=", + "requires": { + "x-is-array": "0.1.0" + } + }, "markdown-escapes": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.1.tgz", @@ -9084,6 +9284,29 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" }, + "minipass": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.2.1.tgz", + "integrity": "sha512-u1aUllxPJUI07cOqzR7reGmQxmCqlH88uIIsf6XZFEWgw7gXKpJdR+5R9Y3KEDmWYkdIz9wXZs3C0jOPxejk/Q==", + "requires": { + "yallist": "3.0.2" + }, + "dependencies": { + "yallist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", + "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" + } + } + }, + "minizlib": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.1.0.tgz", + "integrity": "sha512-4T6Ur/GctZ27nHfpt9THOdRZNgyJ9FZchYO1ceg5S8Q3DNLCKYy44nCZzgCJgcvx2UM8czmqak5BCxJMrq37lA==", + "requires": { + "minipass": "2.2.1" + } + }, "mitt": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/mitt/-/mitt-1.1.3.tgz", @@ -9393,12 +9616,22 @@ } } }, + "netlify-identity-widget": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/netlify-identity-widget/-/netlify-identity-widget-1.4.11.tgz", + "integrity": "sha512-HxwYB0ESGTBLN84MzdFeu0ve+K23ymyKLEQiYHSnIDftvG8wxAzRT4Pr5+f1BR3Cn0KeciqPBHXgNQaIOjRa5Q==" + }, "netrc": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/netrc/-/netrc-0.1.4.tgz", "integrity": "sha1-a+lPysqNd63gqWcNxGCRTJRHJEQ=", "optional": true }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" + }, "nlcst-to-string": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/nlcst-to-string/-/nlcst-to-string-2.0.1.tgz", @@ -9792,15 +10025,6 @@ "sort-keys": "1.1.2" } }, - "npm-conf": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz", - "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==", - "requires": { - "config-chain": "1.1.11", - "pify": "3.0.0" - } - }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -9894,6 +10118,11 @@ } } }, + "object-keys": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" + }, "object-path": { "version": "0.11.4", "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.4.tgz", @@ -11556,6 +11785,26 @@ "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, + "probe-image-size": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-3.2.0.tgz", + "integrity": "sha512-LE7mIvfDoEeOgIH9TbMNv5txJh+K0/UVandiXHk+Hm4VKqNV5qxoeDzdW3QiMIlqXsIEm3K+SzeAedT6fZKjtQ==", + "requires": { + "any-promise": "1.3.0", + "deepmerge": "1.5.2", + "got": "6.7.1", + "inherits": "2.0.3", + "next-tick": "1.0.0", + "stream-parser": "0.3.1" + }, + "dependencies": { + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" + } + } + }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -11614,11 +11863,6 @@ "resolved": "https://registry.npmjs.org/property-information/-/property-information-3.2.0.tgz", "integrity": "sha1-/RSDyPusYYCPX+NZ52k6H0ilgzE=" }, - "proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=" - }, "proxy-addr": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz", @@ -11933,17 +12177,6 @@ "resolved": "https://registry.npmjs.org/react-frame-component/-/react-frame-component-2.0.2.tgz", "integrity": "sha1-5gKpgOHXj5H0cVMSJbYc/b9o5hQ=" }, - "react-helmet": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-5.2.0.tgz", - "integrity": "sha1-qBgR3yExOm1VxfBYxK66XW89l6c=", - "requires": { - "deep-equal": "1.0.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0", - "react-side-effect": "1.1.3" - } - }, "react-hot-loader": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/react-hot-loader/-/react-hot-loader-3.1.3.tgz", @@ -12076,15 +12309,6 @@ "resolved": "https://registry.npmjs.org/react-scroll-sync/-/react-scroll-sync-0.4.1.tgz", "integrity": "sha512-fB3p012TQ2zghAR96chXgN8RPThsOG6aR/pjVgYmVawKvzI+Q60ae3Odg96TkrFNV5quc0KR2iyLwNqEU1AbUw==" }, - "react-side-effect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-1.1.3.tgz", - "integrity": "sha1-USwlq+DewXKDTEAB7FxR4E1BvFw=", - "requires": { - "exenv": "1.2.2", - "shallowequal": "1.0.2" - } - }, "react-sortable-hoc": { "version": "0.6.8", "resolved": "https://registry.npmjs.org/react-sortable-hoc/-/react-sortable-hoc-0.6.8.tgz", @@ -13314,15 +13538,6 @@ "resolved": "https://registry.npmjs.org/sc-formatter/-/sc-formatter-3.0.1.tgz", "integrity": "sha512-Jl2bH8zUtKn70JJIIPTEfWGDXK+TB9wV55C/zwSoDum4T1X1bsIBudO1QkxOG2RZMgkcKexfGQLlDCH37c/4fg==" }, - "scroll-behavior": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/scroll-behavior/-/scroll-behavior-0.9.5.tgz", - "integrity": "sha512-/5CtMX6YHmCrcV6AICYqFpNqYgx5v6YOyDTeMgVFdLZpgU+T3JXmgV+9s4R+uApcyYwcc7o8Nwp7VTt/ue8y0Q==", - "requires": { - "dom-helpers": "3.3.1", - "invariant": "2.2.2" - } - }, "scss-tokenizer": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", @@ -13580,68 +13795,16 @@ "safe-buffer": "5.1.1" } }, + "shallow-compare": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/shallow-compare/-/shallow-compare-1.2.2.tgz", + "integrity": "sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg==" + }, "shallow-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.0.0.tgz", "integrity": "sha1-UI0YOLPeWQq4dXsBGyXkMJAJRfc=" }, - "shallowequal": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.0.2.tgz", - "integrity": "sha512-zlVXeVUKvo+HEv1e2KQF/csyeMKx2oHvatQ9l6XjCUj3agvC8XGf6R9HvIPDSmp8FNPvx7b5kaEJTRi7CqxtEw==" - }, - "sharp": { - "version": "0.17.3", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.17.3.tgz", - "integrity": "sha1-SEzSpwyQA3CUjcxD4WX3gwa/9Io=", - "requires": { - "caw": "2.0.1", - "color": "1.0.3", - "got": "6.7.1", - "nan": "2.8.0", - "semver": "5.4.1", - "tar": "2.2.1" - }, - "dependencies": { - "caw": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/caw/-/caw-2.0.1.tgz", - "integrity": "sha512-Cg8/ZSBEa8ZVY9HspcGUYaK63d/bN7rqS3CYCzEGUxuYv6UlmcjzDUz2fCFFHyTvUW5Pk0I+3hkA3iXlIj6guA==", - "requires": { - "get-proxy": "2.1.0", - "isurl": "1.0.0", - "tunnel-agent": "0.6.0", - "url-to-options": "1.0.1" - } - }, - "color": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/color/-/color-1.0.3.tgz", - "integrity": "sha1-5I6DLYXxTvaU+0aIEcLVz+cptV0=", - "requires": { - "color-convert": "1.9.1", - "color-string": "1.5.2" - } - }, - "color-string": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.2.tgz", - "integrity": "sha1-JuRYFLw8mny9Z1FkikFDRRSnc6k=", - "requires": { - "color-name": "1.1.3", - "simple-swizzle": "0.2.2" - } - }, - "get-proxy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-2.1.0.tgz", - "integrity": "sha512-zmZIaQTWnNQb4R4fJUEp/FC51eZsc6EkErspy3xtIYStaq8EB/hDIWipxsal+E8rz0qD7f2sL/NA9Xee4RInJw==", - "requires": { - "npm-conf": "1.1.3" - } - } - } - }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", @@ -13703,6 +13866,21 @@ "resolved": "https://registry.npmjs.org/signedsource/-/signedsource-1.0.0.tgz", "integrity": "sha1-HdrOSYF5j5O9gzlzgD2A1S6TrWo=" }, + "simple-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz", + "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=" + }, + "simple-get": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.7.0.tgz", + "integrity": "sha512-RkE9rGPHcxYZ/baYmgJtOSM63vH0Vyq+ma5TijBcLla41SWlh8t6XYIGMR/oeZcmr+/G8k+zrClkkVrtnQ0esg==", + "requires": { + "decompress-response": "3.3.0", + "once": "1.4.0", + "simple-concat": "1.0.0" + } + }, "simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -14279,6 +14457,14 @@ "xtend": "4.0.1" } }, + "stream-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", + "integrity": "sha1-FhhUhpRCACGhGC/wrxkRwSl2F3M=", + "requires": { + "debug": "2.6.9" + } + }, "stream-shift": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", @@ -14791,11 +14977,6 @@ } } }, - "toml": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/toml/-/toml-2.3.3.tgz", - "integrity": "sha512-O7L5hhSQHxuufWUdcTRPfuTh3phKfAZ/dqfxZFoxPCj2RYmpaSGLEIs016FCXItQwNr08yefUB5TSjzRYnajTA==" - }, "toml-j0.4": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/toml-j0.4/-/toml-j0.4-1.1.1.tgz", @@ -15507,6 +15688,11 @@ "integrity": "sha1-Z6rzPEaypYel9mZtAPdpEyjxSdw=", "optional": true }, + "v8-compile-cache": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz", + "integrity": "sha512-ejdrifsIydN1XDH7EuR2hn8ZrkRKUYF7tUcBjBy/lhrCvs2K+zRlbW9UHc0IQ9RsYFZJFqJrieoIHfkCa0DBRA==" + }, "v8flags": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", @@ -15704,6 +15890,11 @@ } } }, + "web-namespaces": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.1.tgz", + "integrity": "sha1-dC2f/2H/hPQWT2dyRPQtKcEMRR0=" + }, "webpack": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-1.15.0.tgz", @@ -16358,6 +16549,11 @@ } } }, + "x-is-array": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-array/-/x-is-array-0.1.0.tgz", + "integrity": "sha1-3lIBcdR7P0FvVYfWKbidJrEtwp0=" + }, "x-is-function": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/x-is-function/-/x-is-function-1.0.4.tgz", @@ -16507,6 +16703,11 @@ "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=" } } + }, + "zwitch": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.2.tgz", + "integrity": "sha1-mwWVQb+oRHmf4tkDveYJ3iUDoEE=" } } } diff --git a/package.json b/package.json index 913356d..1bffffb 100644 --- a/package.json +++ b/package.json @@ -5,16 +5,16 @@ "author": "Austin Green", "dependencies": { "bulma": "^0.6.0", - "gatsby": "^1.9.63", - "gatsby-link": "^1.6.21", - "gatsby-plugin-netlify-cms": "^1.0.2", - "gatsby-plugin-react-helmet": "^1.0.5", - "gatsby-plugin-sass": "^1.0.12", - "gatsby-plugin-sharp": "^1.6.18", - "gatsby-remark-images": "^1.5.18", - "gatsby-source-filesystem": "^1.5.5", - "gatsby-transformer-remark": "^1.7.17", - "gatsby-transformer-sharp": "^1.6.13", + "gatsby": "^1.9.213", + "gatsby-link": "^1.6.37", + "gatsby-plugin-netlify-cms": "^1.0.9", + "gatsby-plugin-react-helmet": "^2.0.5", + "gatsby-plugin-sass": "^1.0.17", + "gatsby-plugin-sharp": "^1.6.34", + "gatsby-remark-images": "^1.5.50", + "gatsby-source-filesystem": "^1.5.23", + "gatsby-transformer-remark": "^1.7.33", + "gatsby-transformer-sharp": "^1.6.21", "prop-types": "^15.6.0", "react": "^16.2.0" }, diff --git a/src/cms/cms.js b/src/cms/cms.js index 00eb6c7..779b9c2 100644 --- a/src/cms/cms.js +++ b/src/cms/cms.js @@ -1,10 +1,10 @@ -import CMS from "netlify-cms" +import CMS from 'netlify-cms' -import AboutPagePreview from './preview-templates/AboutPagePreview'; -import BlogPostPreview from './preview-templates/BlogPostPreview'; -import ProductPagePreview from './preview-templates/ProductPagePreview'; +import AboutPagePreview from './preview-templates/AboutPagePreview' +import BlogPostPreview from './preview-templates/BlogPostPreview' +import ProductPagePreview from './preview-templates/ProductPagePreview' -CMS.registerPreviewStyle('/styles.css'); -CMS.registerPreviewTemplate('about', AboutPagePreview); -CMS.registerPreviewTemplate('products', ProductPagePreview); -CMS.registerPreviewTemplate('blog', BlogPostPreview); +CMS.registerPreviewStyle('/styles.css') +CMS.registerPreviewTemplate('about', AboutPagePreview) +CMS.registerPreviewTemplate('products', ProductPagePreview) +CMS.registerPreviewTemplate('blog', BlogPostPreview) diff --git a/src/components/Content.js b/src/components/Content.js index 40cee3a..24ee52e 100644 --- a/src/components/Content.js +++ b/src/components/Content.js @@ -1,7 +1,8 @@ -import React from 'react'; +import React from 'react' -export default ({ content, className }) =>
{content}
; -export const HTMLContent = ({ content, className }) => (
); +export default ({ content, className }) => ( +
{content}
+) +export const HTMLContent = ({ content, className }) => ( +
+) diff --git a/src/components/Features.js b/src/components/Features.js index 1160764..1b0778c 100644 --- a/src/components/Features.js +++ b/src/components/Features.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React from 'react' const FeatureGrid = ({ gridItems }) => (
@@ -13,6 +13,6 @@ const FeatureGrid = ({ gridItems }) => (
))}
-); +) -export default FeatureGrid; +export default FeatureGrid diff --git a/src/components/Navbar.js b/src/components/Navbar.js index cac1863..7d7731d 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -1,8 +1,8 @@ -import React from 'react'; -import Link from 'gatsby-link'; +import React from 'react' +import Link from 'gatsby-link' -import github from '../img/github-icon.svg'; -import logo from '../img/logo.svg'; +import github from '../img/github-icon.svg' +import logo from '../img/logo.svg' const Navbar = () => (
- + Github @@ -31,6 +36,6 @@ const Navbar = () => (
-); +) -export default Navbar; +export default Navbar diff --git a/src/components/Pricing.js b/src/components/Pricing.js index 13d3e97..df49b26 100644 --- a/src/components/Pricing.js +++ b/src/components/Pricing.js @@ -1,12 +1,16 @@ -import React from 'react'; +import React from 'react' export default ({ data }) => (
{data.map(price => (
-

{price.plan}

-

${price.price}

+

+ {price.plan} +

+

+ ${price.price} +

{price.description}

    {price.items.map(item => ( @@ -19,4 +23,4 @@ export default ({ data }) => (
))}
-); +) diff --git a/src/components/Testimonials.js b/src/components/Testimonials.js index 81c37bf..171303d 100644 --- a/src/components/Testimonials.js +++ b/src/components/Testimonials.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React from 'react' export default ({ testimonials }) => (
@@ -12,4 +12,4 @@ export default ({ testimonials }) => ( ))}
-); +) diff --git a/src/layouts/index.js b/src/layouts/index.js index 3eab8f3..f694b3f 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -1,9 +1,9 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import Helmet from 'react-helmet'; +import React from 'react' +import PropTypes from 'prop-types' +import Helmet from 'react-helmet' -import Navbar from '../components/Navbar'; -import './all.sass'; +import Navbar from '../components/Navbar' +import './all.sass' const TemplateWrapper = ({ children }) => (
@@ -11,10 +11,10 @@ const TemplateWrapper = ({ children }) => (
{children()}
-); +) TemplateWrapper.propTypes = { children: PropTypes.func, -}; +} -export default TemplateWrapper; +export default TemplateWrapper diff --git a/src/pages/404.js b/src/pages/404.js index 25b9656..a091a00 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -1,10 +1,10 @@ -import React from 'react'; +import React from 'react' const NotFoundPage = () => (

NOT FOUND

You just hit a route that doesn't exist... the sadness.

-); +) -export default NotFoundPage; +export default NotFoundPage diff --git a/src/pages/index.js b/src/pages/index.js index de3f6c5..7645dd3 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,11 +1,11 @@ -import React from "react"; -import Link from "gatsby-link"; -import graphql from "graphql"; +import React from 'react' +import Link from 'gatsby-link' +import graphql from 'graphql' export default class IndexPage extends React.Component { render() { - const { data } = this.props; - const { edges: posts } = data.allMarkdownRemark; + const { data } = this.props + const { edges: posts } = data.allMarkdownRemark return (
@@ -14,11 +14,11 @@ export default class IndexPage extends React.Component {

Latest Stories

{posts - .filter(post => post.node.frontmatter.templateKey === "blog-post") + .filter(post => post.node.frontmatter.templateKey === 'blog-post') .map(({ node: post }) => (

@@ -40,7 +40,7 @@ export default class IndexPage extends React.Component { ))}

- ); + ) } } @@ -61,4 +61,4 @@ export const pageQuery = graphql` } } } -`; +` diff --git a/src/templates/about-page.js b/src/templates/about-page.js index 22204c9..1f12ac8 100644 --- a/src/templates/about-page.js +++ b/src/templates/about-page.js @@ -1,9 +1,9 @@ -import React from 'react'; -import graphql from 'graphql'; -import Content, { HTMLContent } from '../components/Content'; +import React from 'react' +import graphql from 'graphql' +import Content, { HTMLContent } from '../components/Content' export const AboutPageTemplate = ({ title, content, contentComponent }) => { - const PageContent = contentComponent || Content; + const PageContent = contentComponent || Content return (
@@ -11,25 +11,29 @@ export const AboutPageTemplate = ({ title, content, contentComponent }) => {
-

{title}

+

+ {title} +

- ); -}; + ) +} export default ({ data }) => { - const { markdownRemark: post } = data; + const { markdownRemark: post } = data - return (); -}; + return ( + + ) +} export const aboutPageQuery = graphql` query AboutPage($path: String!) { @@ -41,4 +45,4 @@ export const aboutPageQuery = graphql` } } } -`; +` diff --git a/src/templates/blog-post.js b/src/templates/blog-post.js index 7d0c58f..8b16106 100644 --- a/src/templates/blog-post.js +++ b/src/templates/blog-post.js @@ -1,40 +1,48 @@ -import React from 'react'; -import graphql from 'graphql'; -import Helmet from 'react-helmet'; -import Content, { HTMLContent } from '../components/Content'; +import React from 'react' +import graphql from 'graphql' +import Helmet from 'react-helmet' +import Content, { HTMLContent } from '../components/Content' export const BlogPostTemplate = ({ - content, contentComponent, description, title, helmet, + content, + contentComponent, + description, + title, + helmet, }) => { - const PostContent = contentComponent || Content; + const PostContent = contentComponent || Content return (
- { helmet || ''} + {helmet || ''}
-

{title}

+

+ {title} +

{description}

- ); -}; + ) +} export default ({ data }) => { - const { markdownRemark: post } = data; + const { markdownRemark: post } = data - return (} - title={post.frontmatter.title} - />); -}; + return ( + } + title={post.frontmatter.title} + /> + ) +} export const pageQuery = graphql` query BlogPostByPath($path: String!) { @@ -48,4 +56,4 @@ export const pageQuery = graphql` } } } -`; +` diff --git a/src/templates/product-page.js b/src/templates/product-page.js index f104cef..436266b 100644 --- a/src/templates/product-page.js +++ b/src/templates/product-page.js @@ -1,11 +1,19 @@ -import React from 'react'; -import graphql from 'graphql'; -import Features from '../components/Features'; -import Testimonials from '../components/Testimonials'; -import Pricing from '../components/Pricing'; +import React from 'react' +import graphql from 'graphql' +import Features from '../components/Features' +import Testimonials from '../components/Testimonials' +import Pricing from '../components/Pricing' export const ProductPageTemplate = ({ - image, title, heading, description, intro, main, testimonials, fullImage, pricing, + image, + title, + heading, + description, + intro, + main, + testimonials, + fullImage, + pricing, }) => (
@@ -31,14 +39,18 @@ export const ProductPageTemplate = ({
-

{heading}

+

+ {heading} +

{description}

-

{main.heading}

+

+ {main.heading} +

{main.description}

@@ -80,7 +92,9 @@ export const ProductPageTemplate = ({ className="full-width-image-container" style={{ backgroundImage: `url(${fullImage})` }} /> -

{pricing.heading}

+

+ {pricing.heading} +

{pricing.description}

@@ -89,10 +103,10 @@ export const ProductPageTemplate = ({
-); +) export default ({ data }) => { - const { frontmatter } = data.markdownRemark; + const { frontmatter } = data.markdownRemark return ( { fullImage={frontmatter.full_image} pricing={frontmatter.pricing} /> - ); -}; + ) +} export const productPageQuery = graphql` query ProductPage($path: String!) { @@ -160,4 +174,4 @@ export const productPageQuery = graphql` } } } -`; +`