relay-utils

v0.1.0
Utilities for working with Relay (modern) in general, and the Relay store in particular.
graphql relay relaymodern

build

yarn test && rm -rf lib && babel src --out-dir lib --ignore **/*-tests.js && yarn flow:copy

prepublish

yarn flow && yarn test && yarn build

flow:copy

flow-copy-source src lib

relay

relay-compiler --src tests --schema config/schema.graphql --artifactDirectory tests/__generated__ --language js-flow-uncommented

graphql:generate-assets

graphql-generate-flow-schema-assets -s ./config/schema.graphql --enums --object-types --enums-file-path ./tests/constants/enums.js --object-types-file-path ./tests/constants/object-types.js

test

yarn flow && yarn jest
npm i relay-utils

Metadata

  • MIT
  • Whatever
  • Gabriel Nordeborn
  • released 5/5/2019

Downloads

Maintainers