relay-compiler-plus

v1.7.12
A custom relay modern compiler that supports persisted queries
relay compiler persisted queries query custom modern

flow

flow

test

jest

lint

eslint src

build-compiler

NODE_ENV=production node build && exec 3<> bin/relay-compiler-plus && awk -v TEXT='#!/usr/bin/env node' 'BEGIN {print TEXT}{print}' bin/relay-compiler-plus >&3 && sed -i '' -e "s|__DEV__|process.env.NODE_ENV !== 'production'|g" bin/relay-compiler-plus

build-exports

babel src/exports -d lib --ignore *.test.js

build-graphql-js-compiler

babel src/graphqlJSCompiler -d graphqlJSCompiler

build-flow

flow-copy-source -v src lib

clean

rimraf bin/* && rimraf lib/* && rimraf graphqlJSCompiler/*

build

npm run clean && npm run build-compiler && npm run build-exports && npm run build-graphql-js-compiler

prep-publish

npm version patch -m 'Upgrade to %s' && npm publish && git push

Metadata

  • MIT
  • Whatever
  • Yusinto Ngadiman
  • released 7/24/2018

Downloads

Maintainers