@brudi-toolbox/graphql
v2.0.7
Published
brudi Toolbox for GraphQL
Downloads
161
Readme
brudi Toolbox GraphQL Helper
Helper library for brudi Mesh GraphQL developers.
Installation
Install the package with
yarn add -D @brudi-toolbox/graphql
or
npm install --save-dev @brudi-toolbox/graphql
Development
Quickstart
To install dependencies with Yarn, run:
$ yarn install
Linting
NOTE: The linter will run against everything in the lib
directory.
JavaScript Linting
This assumes you have eslint and eslint-watch installed. If you don't, run the following:
$ yarn global add eslint eslint-watch
To run the linter once:
$ yarn lint:js
To run the watch task:
$ yarn lint:js:watch
Build
NOTE: When you run build
, Babel will create a build
directory. This is what users
will interact with when they use the brudi Toolbox React GraphQL Helper library. Nothing in lib
gets shipped with the
published module.
Run once:
$ yarn build
Run the watch script:
$ yarn build:watch