graphql-cli-gramps
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

graphql-cli-gramps npm

CircleCIDavid
Plugin for graphql-cli. Adds the gramps-cli to graphql-cli.

Installation

Install graphql-cli-gramps either globally (recommended) or locally using your favorite package manager:

$ yarn [global] add graphql-cli-gramps
$ npm install graphql-cli-gramps [--global]

Usage

graphql gramps dev

run a GraphQL gateway for local development

Choose data source(s) for local development:
  --data-source, --data-sources, -d  path to one or more data sources    [array]

Choose a GraphQL gateway to run the data sources:
  --gateway, -g  path to a GraphQL gateway start script                 [string]

Choose real or mock data:
  --live, -l  run GraphQL with live data
  --mock, -m  run GraphQL offline with mock data

Turn Babel on or off:
  --no-transpile

Options:
  --dotenv       Path to .env file                                      [string]
  -p, --project  Project name                                           [string]
  --transpile    don’t transpile data sources (point to a build dir)
                                                       [boolean] [default: true]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-cli-gramps

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kbrandwijk