diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-02-03 23:08:26 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 20:54:36 +0100 |
commit | a2721971ba82a6ba0e735bd06cf555a4c1bca84e (patch) | |
tree | ae92cad5ff79350ffc11949032d7706e072d7b72 /webui/package.json | |
parent | aea42344ded1708361e7e1d577e9c6aa370ad64e (diff) | |
download | git-bug-a2721971ba82a6ba0e735bd06cf555a4c1bca84e.tar.gz |
webui: generate TS types for graphql queries
Diffstat (limited to 'webui/package.json')
-rw-r--r-- | webui/package.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webui/package.json b/webui/package.json index 8f00ae91..31a9eb73 100644 --- a/webui/package.json +++ b/webui/package.json @@ -8,12 +8,13 @@ "@material-ui/icons": "^4.2.1", "@material-ui/lab": "^4.0.0-alpha.40", "@material-ui/styles": "^4.9.0", - "@types/jest": "^25.1.1", "@types/node": "^13.5.3", "@types/react": "^16.9.19", "@types/react-dom": "^16.9.5", + "@types/react-router-dom": "^5.1.3", "apollo-boost": "^0.4.7", "graphql": "^14.6.0", + "graphql.macro": "^1.4.2", "moment": "^2.24.0", "react": "^16.8.6", "react-apollo": "^3.1.3", @@ -30,7 +31,9 @@ "devDependencies": { "@graphql-codegen/cli": "^1.12.1", "@graphql-codegen/fragment-matcher": "^1.12.1", - "@types/react-router-dom": "^5.1.3", + "@graphql-codegen/near-operation-file-preset": "^1.12.1", + "@graphql-codegen/typescript-operations": "^1.12.1", + "@graphql-codegen/typescript-react-apollo": "^1.12.1", "eslint-config-prettier": "^6.10.0", "eslint-plugin-prettier": "^3.1.2", "prettier": "^1.19.1" |