Files
TheGame/packages/graphql-codegen/package.json
2020-07-13 11:19:48 -06:00

31 lines
1.1 KiB
JSON

{
"name": "@metafam/graphql-codegen",
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": ">=12.x.x"
},
"scripts": {
"get-schema": "env-cmd -f ../../.env -x get-graphql-schema -h x-hasura-admin-secret=\\$HASURA_GRAPHQL_ADMIN_SECRET http://localhost:8080/v1/graphql > schema.graphql",
"generate": "yarn get-schema && graphql-codegen --config=graphql-codegen-gql.yaml && graphql-codegen --config=graphql-codegen-typescript.yaml",
"typecheck": "echo noop"
},
"dependencies": {
"graphql-tag": "^2.10.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.13.2",
"@graphql-codegen/introspection": "^1.13.2",
"@graphql-codegen/typescript": "^1.13.2",
"@graphql-codegen/typescript-operations": "^1.13.2",
"@graphql-codegen/typescript-react-apollo": "^1.13.2",
"env-cmd": "^10.1.0",
"graphql-codegen-hasura-client-config": "^4.8.3",
"graphql-codegen-hasura-core": "^4.8.3",
"graphql-codegen-hasura-gql": "^4.8.3",
"graphql-codegen-hasura-react": "^4.8.3",
"graphql-codegen-hasura-shared": "^4.8.3",
"graphql-codegen-hasura-typescript": "^4.8.3"
}
}