@ftw/graphql-codegen
## Installation
Last updated a year ago by danmartens .
MIT · Original npm · Tarball · package.json
$ cnpm install @ftw/graphql-codegen 
SYNC missed versions from official npm registry.

GraphQL Codegen

Installation

$ yarn add --dev @ftw/graphql-codegen

Getting Started

Make sure your GraphQL server is running and then run the following in the root of your project (where http://localhost:3000/graphql is your GraphQL endpoint):

$ yarn run graphql-codegen http://localhost:3000/graphql

Using With GatsbyJS

Because GatsbyJS doesn't allow any JS files which don't export React components in the "src/pages" directory, GraphQL Codegen allows outputting type definitions to a single directory with the --flat option:

$ yarn run graphql-codegen --flat -o src/__generated__ http://localhost:8000/___graphql

Current Tags

  • 0.0.11                                ...           latest (a year ago)

11 Versions

  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 18
Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |