add graphql as dependency

This commit is contained in:
Marco Biedermann 2017-12-20 12:24:22 +01:00
parent d2b4f8d483
commit a7883fe4f0
No known key found for this signature in database
GPG key ID: 61342DB42C3F6E1E
6 changed files with 12 additions and 1 deletions

View file

@ -14,6 +14,7 @@
"gatsby-source-filesystem": "^1.5.5",
"gatsby-transformer-remark": "^1.7.17",
"gatsby-transformer-sharp": "^1.6.13",
"graphql": "^0.12.3",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-helmet": "^5.2.0",

View file

@ -1,6 +1,7 @@
import React from 'react';
import Link from 'gatsby-link';
import Script from 'react-load-script';
import graphql from 'graphql';
export default class IndexPage extends React.Component {
static handleScriptLoad() {

View file

@ -1,4 +1,5 @@
import React from 'react';
import graphql from 'graphql';
import Content, { HTMLContent } from '../components/Content';
export const AboutPageTemplate = ({ title, content, contentComponent }) => {

View file

@ -1,4 +1,5 @@
import React from 'react';
import graphql from 'graphql';
import Content, { HTMLContent } from '../components/Content';
import Helmet from 'react-helmet';

View file

@ -1,4 +1,5 @@
import React from 'react';
import graphql from 'graphql';
import Features from '../components/Features';
import Testimonials from '../components/Testimonials';
import Pricing from '../components/Pricing';

View file

@ -3942,6 +3942,12 @@ graphql@^0.10.3, graphql@^0.10.5:
dependencies:
iterall "^1.1.0"
graphql@^0.12.3:
version "0.12.3"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.12.3.tgz#11668458bbe28261c0dcb6e265f515ba79f6ce07"
dependencies:
iterall "1.1.3"
gray-matter@^2.1.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/gray-matter/-/gray-matter-2.1.1.tgz#3042d9adec2a1ded6a7707a9ed2380f8a17a430e"
@ -4876,7 +4882,7 @@ items@2.x.x:
version "2.1.1"
resolved "https://registry.yarnpkg.com/items/-/items-2.1.1.tgz#8bd16d9c83b19529de5aea321acaada78364a198"
iterall@^1.1.0:
iterall@1.1.3, iterall@^1.1.0:
version "1.1.3"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9"