mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
Merge pull request #3 from the-programmers-hangout/codegen
typescript type generations from graphql
This commit is contained in:
+8
-2
@@ -11,6 +11,7 @@
|
||||
"gatsby": "^2.13.39",
|
||||
"gatsby-image": "^2.2.6",
|
||||
"gatsby-plugin-manifest": "^2.2.4",
|
||||
"gatsby-plugin-mdx": "^1.0.17",
|
||||
"gatsby-plugin-offline": "^2.2.4",
|
||||
"gatsby-plugin-react-helmet": "^3.1.2",
|
||||
"gatsby-plugin-react-svg": "^2.1.1",
|
||||
@@ -33,10 +34,14 @@
|
||||
"styled-components": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@graphql-codegen/cli": "^1.4.0",
|
||||
"@types/react": "^16.8.23",
|
||||
"@types/react-dom": "^16.8.5",
|
||||
"@types/react-helmet": "^5.0.8",
|
||||
"prettier": "^1.18.2"
|
||||
"prettier": "^1.18.2",
|
||||
"@graphql-codegen/typescript": "1.4.0",
|
||||
"@graphql-codegen/typescript-operations": "1.4.0",
|
||||
"@graphql-codegen/typescript-react-apollo": "1.4.0"
|
||||
},
|
||||
"keywords": [
|
||||
"gatsby"
|
||||
@@ -48,7 +53,8 @@
|
||||
"format": "prettier --write src/**/*.{js,jsx}",
|
||||
"start": "npm run develop",
|
||||
"serve": "gatsby serve",
|
||||
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
|
||||
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\"",
|
||||
"codegen": "graphql-codegen --config codegen.yml"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user