diff --git a/.env.development b/.env.development new file mode 100644 index 00000000..f48004fa --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ + GATSBY_GRAPHQL_IDE=playground \ No newline at end of file diff --git a/package.json b/package.json index 717fe9ae..fb204957 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "build": "gatsby build", - "develop": "gatsby develop", + "develop": "env-cmd -f .env.development gatsby develop", "format": "prettier --write src/**/*.{js,jsx}", "start": "npm run develop", "serve": "gatsby serve", @@ -16,6 +16,7 @@ "@mdx-js/mdx": "^1.3.0", "@mdx-js/react": "^1.3.0", "@types/react-helmet": "^5.0.9", + "env-cmd": "^10.0.1", "gatsby": "^2.13.3", "gatsby-plugin-emotion": "^4.1.0", "gatsby-plugin-mdx": "^1.0.24",